/third_party/typescript/tests/baselines/reference/ |
D | undefinedIsSubtypeOfEverything.js | 146 var D0 = /** @class */ (function (_super) { 147 __extends(D0, _super); 149 return _super !== null && _super.apply(this, arguments) || this; 153 var DA = /** @class */ (function (_super) { 154 __extends(DA, _super); 156 return _super !== null && _super.apply(this, arguments) || this; 160 var D1 = /** @class */ (function (_super) { 161 __extends(D1, _super); 163 return _super !== null && _super.apply(this, arguments) || this; 167 var D1A = /** @class */ (function (_super) { [all …]
|
D | subtypesOfTypeParameterWithConstraints.js | 192 var D1 = /** @class */ (function (_super) { 193 __extends(D1, _super); 195 return _super !== null && _super.apply(this, arguments) || this; 199 var D2 = /** @class */ (function (_super) { 200 __extends(D2, _super); 202 return _super !== null && _super.apply(this, arguments) || this; 206 var D3 = /** @class */ (function (_super) { 207 __extends(D3, _super); 209 return _super !== null && _super.apply(this, arguments) || this; 213 var D4 = /** @class */ (function (_super) { [all …]
|
D | privacyClass.js | 164 var m1_C1_private = /** @class */ (function (_super) { argument 165 __extends(m1_C1_private, _super); 167 return _super !== null && _super.apply(this, arguments) || this; 171 var m1_C2_private = /** @class */ (function (_super) { argument 172 __extends(m1_C2_private, _super); 174 return _super !== null && _super.apply(this, arguments) || this; 178 var m1_C3_public = /** @class */ (function (_super) { argument 179 __extends(m1_C3_public, _super); 181 return _super !== null && _super.apply(this, arguments) || this; 186 var m1_C4_public = /** @class */ (function (_super) { argument [all …]
|
D | privacyClassExtendsClauseDeclFile.js | 133 var privateClassExtendingPublicClassInModule = /** @class */ (function (_super) { argument 134 __extends(privateClassExtendingPublicClassInModule, _super); 136 return _super !== null && _super.apply(this, arguments) || this; 140 var privateClassExtendingPrivateClassInModule = /** @class */ (function (_super) { argument 141 __extends(privateClassExtendingPrivateClassInModule, _super); 143 return _super !== null && _super.apply(this, arguments) || this; 147 var publicClassExtendingPublicClassInModule = /** @class */ (function (_super) { argument 148 __extends(publicClassExtendingPublicClassInModule, _super); 150 return _super !== null && _super.apply(this, arguments) || this; 155 var publicClassExtendingPrivateClassInModule = /** @class */ (function (_super) { argument [all …]
|
D | derivedClassSuperProperties.js | 432 var Derived1 = /** @class */ (function (_super) { 433 __extends(Derived1, _super); 436 _super.prototype.receivesAnything.call(_this); class 437 _this = _super.call(this) || this; 443 var Derived2 = /** @class */ (function (_super) { 444 __extends(Derived2, _super); 447 _super.prototype.receivesAnything.call(_this, _this); 448 _this = _super.call(this) || this; 454 var Derived3 = /** @class */ (function (_super) { 455 __extends(Derived3, _super); [all …]
|
D | classExtendingBuiltinType.js | 30 var C1 = /** @class */ (function (_super) { 31 __extends(C1, _super); 33 return _super !== null && _super.apply(this, arguments) || this; 37 var C2 = /** @class */ (function (_super) { 38 __extends(C2, _super); 40 return _super !== null && _super.apply(this, arguments) || this; 44 var C3 = /** @class */ (function (_super) { 45 __extends(C3, _super); 47 return _super !== null && _super.apply(this, arguments) || this; 51 var C4 = /** @class */ (function (_super) { [all …]
|
D | collisionSuperAndParameter.types | 8 var lamda = (_super: number) => { // No Error 9 >lamda : (_super: number) => (x: any) => this 10 >(_super: number) => { // No Error return x => this; // New scope. So should inject … 11 >_super : number 19 b(_super: number) { // No Error 20 >b : (_super: number) => void 21 >_super : number 33 set c(_super: number) { // No error 35 >_super : number 45 var lamda = (_super: number) => { // Error [all …]
|
D | classExtendingPrimitive.js | 34 var C = /** @class */ (function (_super) { 35 __extends(C, _super); 37 return _super !== null && _super.apply(this, arguments) || this; 41 var C2 = /** @class */ (function (_super) { 42 __extends(C2, _super); 44 return _super !== null && _super.apply(this, arguments) || this; 48 var C3 = /** @class */ (function (_super) { 49 __extends(C3, _super); 51 return _super !== null && _super.apply(this, arguments) || this; 55 var C4 = /** @class */ (function (_super) { [all …]
|
D | implementingAnInterfaceExtendingClassWithPrivates2.js | 109 var Bar = /** @class */ (function (_super) { 110 __extends(Bar, _super); 112 return _super !== null && _super.apply(this, arguments) || this; 116 var Bar2 = /** @class */ (function (_super) { 117 __extends(Bar2, _super); 119 return _super !== null && _super.apply(this, arguments) || this; 123 var Bar3 = /** @class */ (function (_super) { 124 __extends(Bar3, _super); 126 return _super !== null && _super.apply(this, arguments) || this; 138 var Baz = /** @class */ (function (_super) { argument [all …]
|
D | privacyGloClass.js | 94 var m1_C1_private = /** @class */ (function (_super) { argument 95 __extends(m1_C1_private, _super); 97 return _super !== null && _super.apply(this, arguments) || this; 101 var m1_C2_private = /** @class */ (function (_super) { argument 102 __extends(m1_C2_private, _super); 104 return _super !== null && _super.apply(this, arguments) || this; 108 var m1_C3_public = /** @class */ (function (_super) { argument 109 __extends(m1_C3_public, _super); 111 return _super !== null && _super.apply(this, arguments) || this; 116 var m1_C4_public = /** @class */ (function (_super) { argument [all …]
|
D | classAbstractInheritance.js | 45 var B = /** @class */ (function (_super) { argument 46 __extends(B, _super); 48 return _super !== null && _super.apply(this, arguments) || this; 52 var C = /** @class */ (function (_super) { 53 __extends(C, _super); 55 return _super !== null && _super.apply(this, arguments) || this; 64 var BB = /** @class */ (function (_super) { argument 65 __extends(BB, _super); 67 return _super !== null && _super.apply(this, arguments) || this; 71 var CC = /** @class */ (function (_super) { [all …]
|
D | subtypesOfTypeParameterWithRecursiveConstraints.js | 227 var D1 = /** @class */ (function (_super) { argument 228 __extends(D1, _super); 230 return _super !== null && _super.apply(this, arguments) || this; 234 var D2 = /** @class */ (function (_super) { argument 235 __extends(D2, _super); 237 return _super !== null && _super.apply(this, arguments) || this; 241 var D3 = /** @class */ (function (_super) { argument 242 __extends(D3, _super); 244 return _super !== null && _super.apply(this, arguments) || this; 248 var D4 = /** @class */ (function (_super) { argument [all …]
|
D | derivedUninitializedPropertyDeclaration.js | 109 var B = /** @class */ (function (_super) { 110 __extends(B, _super); 112 return _super !== null && _super.apply(this, arguments) || this; 116 var BD = /** @class */ (function (_super) { 117 __extends(BD, _super); 119 return _super !== null && _super.apply(this, arguments) || this; 123 var BDBang = /** @class */ (function (_super) { 124 __extends(BDBang, _super); 126 return _super !== null && _super.apply(this, arguments) || this; 130 var BOther = /** @class */ (function (_super) { [all …]
|
D | jsDeclarationsClassesErr.js | 100 var N = /** @class */ (function (_super) { 101 __extends(N, _super); 103 return _super !== null && _super.apply(this, arguments) || this; 114 var P = /** @class */ (function (_super) { 115 __extends(P, _super); 117 return _super !== null && _super.apply(this, arguments) || this; 122 var Q = /** @class */ (function (_super) { 123 __extends(Q, _super); 125 return _super !== null && _super.apply(this, arguments) || this; 130 var R = /** @class */ (function (_super) { [all …]
|
D | interfaceExtendsObjectIntersection.js | 73 var C1 = /** @class */ (function (_super) { argument 74 __extends(C1, _super); 76 return _super !== null && _super.apply(this, arguments) || this; 80 var C2 = /** @class */ (function (_super) { 81 __extends(C2, _super); 83 return _super !== null && _super.apply(this, arguments) || this; 87 var C3 = /** @class */ (function (_super) { 88 __extends(C3, _super); 90 return _super !== null && _super.apply(this, arguments) || this; 94 var C4 = /** @class */ (function (_super) { [all …]
|
D | classExtendingNonConstructor.js | 37 var C1 = /** @class */ (function (_super) { 38 __extends(C1, _super); 40 return _super !== null && _super.apply(this, arguments) || this; 44 var C2 = /** @class */ (function (_super) { 45 __extends(C2, _super); 47 return _super !== null && _super.apply(this, arguments) || this; 51 var C3 = /** @class */ (function (_super) { 52 __extends(C3, _super); 54 return _super !== null && _super.apply(this, arguments) || this; 58 var C4 = /** @class */ (function (_super) { [all …]
|
D | collisionSuperAndParameter.symbols | 8 var lamda = (_super: number) => { // No Error 10 >_super : Symbol(_super, Decl(collisionSuperAndParameter.ts, 2, 21)) 17 b(_super: number) { // No Error 19 >_super : Symbol(_super, Decl(collisionSuperAndParameter.ts, 6, 6)) 29 set c(_super: number) { // No error 31 >_super : Symbol(_super, Decl(collisionSuperAndParameter.ts, 11, 10)) 41 var lamda = (_super: number) => { // Error 43 >_super : Symbol(_super, Decl(collisionSuperAndParameter.ts, 16, 21)) 50 y(_super: number) { // Error 52 >_super : Symbol(_super, Decl(collisionSuperAndParameter.ts, 20, 6)) [all …]
|
D | errorSuperPropertyAccess.js | 152 this.m = _super.prototype.prototype; 153 this.n = _super.prototype.hasOwnProperty.call(this, ''); 154 var a = _super.prototype.prototype; 155 var b = _super.prototype.hasOwnProperty.call(this, ''); 158 var a = _super.prototype.prototype; 159 var b = _super.prototype.hasOwnProperty.call(this, ''); 164 _super.hasOwnProperty.call(this, ''); 168 _super.hasOwnProperty.call(this, ''); 172 _super.hasOwnProperty.call(this, ''); 196 var SomeDerived1 = /** @class */ (function (_super) { [all …]
|
D | classAbstractUsingAbstractMethods2.js | 51 var B = /** @class */ (function (_super) { 52 __extends(B, _super); 54 return _super !== null && _super.apply(this, arguments) || this; 58 var C = /** @class */ (function (_super) { argument 59 __extends(C, _super); 61 return _super !== null && _super.apply(this, arguments) || this; 65 var D = /** @class */ (function (_super) { 66 __extends(D, _super); 68 return _super !== null && _super.apply(this, arguments) || this; 73 var E = /** @class */ (function (_super) { argument [all …]
|
D | subtypingWithObjectMembers.js | 91 var Derived = /** @class */ (function (_super) { 92 __extends(Derived, _super); 94 return _super !== null && _super.apply(this, arguments) || this; 98 var Derived2 = /** @class */ (function (_super) { 99 __extends(Derived2, _super); 101 return _super !== null && _super.apply(this, arguments) || this; 112 var B = /** @class */ (function (_super) { 113 __extends(B, _super); 115 return _super !== null && _super.apply(this, arguments) || this; 124 var B2 = /** @class */ (function (_super) { [all …]
|
D | collisionSuperAndParameter.js | 4 var lamda = (_super: number) => { // No Error 8 b(_super: number) { // No Error 13 set c(_super: number) { // No error 18 var lamda = (_super: number) => { // Error 22 y(_super: number) { // Error 27 set z(_super: number) { // Error 30 doStuff: (_super: number) => void; // no error - no code gen 33 doStuff: (_super: number) => { // should be error 36 constructor(_super: number) { // should be error 42 y(_super: number); // No error - no code gen [all …]
|
D | subtypingWithObjectMembersAccessibility2.js | 86 var Derived = /** @class */ (function (_super) { 87 __extends(Derived, _super); 89 return _super !== null && _super.apply(this, arguments) || this; 100 var B = /** @class */ (function (_super) { argument 101 __extends(B, _super); 103 return _super !== null && _super.apply(this, arguments) || this; 112 var B2 = /** @class */ (function (_super) { argument 113 __extends(B2, _super); 115 return _super !== null && _super.apply(this, arguments) || this; 124 var B3 = /** @class */ (function (_super) { argument [all …]
|
D | subtypingWithNumericIndexer3.js | 68 var B = /** @class */ (function (_super) { 69 __extends(B, _super); 71 return _super !== null && _super.apply(this, arguments) || this; 75 var B2 = /** @class */ (function (_super) { 76 __extends(B2, _super); 78 return _super !== null && _super.apply(this, arguments) || this; 89 var B = /** @class */ (function (_super) { argument 90 __extends(B, _super); 92 return _super !== null && _super.apply(this, arguments) || this; 96 var B2 = /** @class */ (function (_super) { argument [all …]
|
D | subtypingWithStringIndexer3.js | 68 var B = /** @class */ (function (_super) { 69 __extends(B, _super); 71 return _super !== null && _super.apply(this, arguments) || this; 75 var B2 = /** @class */ (function (_super) { 76 __extends(B2, _super); 78 return _super !== null && _super.apply(this, arguments) || this; 89 var B = /** @class */ (function (_super) { argument 90 __extends(B, _super); 92 return _super !== null && _super.apply(this, arguments) || this; 96 var B2 = /** @class */ (function (_super) { argument [all …]
|
D | superInStaticMembers1(target=es5).js | 530 var C = /** @class */ (function (_super) { 531 __extends(C, _super); 533 return _super !== null && _super.apply(this, arguments) || this; 540 _super.w.call(_a); 544 _super.w.call(_a); 548 _super.w.call(_a); 556 _super.w.call(_a); 560 _super.w.call(_a); 566 _super.w.call(_a); 569 _super.w.call(_a); field [all …]
|