/third_party/typescript/tests/baselines/reference/ |
D | es6ModuleClassDeclaration.js | 9 private method1() { method in c 25 private method1() { method in c2 45 private method1() { 61 private method1() { 83 private method1() { 99 private method1() { 121 method1() { method in c 137 method1() { method in c2 157 method1() { method in anonymousFunction579f2aa80100.c3 174 method1() { method in anonymousFunction579f2aa80100.c4 [all …]
|
D | contextuallyTypedObjectLiteralMethodDeclaration01.types | 13 method1(arg: A): void; 14 >method1 : (arg: A) => void 26 …{ method1(arg) { arg.numProp = 10; }, method2(arg) { ar… 28 method1(arg) { 29 >method1 : (arg: A) => void 58 … method1: (arg) => { arg.numProp = 10; }, method2: (arg) => { … 60 method1: (arg) => { 61 >method1 : (arg: A) => void 92 …method1: function (arg) { arg.numProp = 10; }, method2: function (arg) { … 94 method1: function (arg) { [all …]
|
D | checkJsdocTypeTagOnObjectProperty2.types | 7 >obj : { bar: string | undefined; method1(arg0: number): number; method2: (arg0: number) => number;… 8 …method1(n1) { return "42"; }, /** @type {function(number): number} */ method2: (n1) => "lo… 16 method1(n1) { 17 >method1 : (n1: number) => number 51 var s = obj.method1(0); 53 >obj.method1(0) : number 54 >obj.method1 : (arg0: number) => number 55 >obj : { bar: string | undefined; method1(arg0: number): number; method2: (arg0: number) => number;… 56 >method1 : (arg0: number) => number 64 >obj : { bar: string | undefined; method1(arg0: number): number; method2: (arg0: number) => number;…
|
D | checkJsdocTypeTagOnObjectProperty1.types | 8 …> number) | undefined; foo: string | undefined; bar: string | undefined; method1(arg0: number): nu… 9 …method1(n1) { return n1 + 42; }, /** @type {string} */ lol, /** @type {number} */ ['b' +… 22 method1(n1) { 23 >method1 : (n1: number) => number 56 …> number) | undefined; foo: string | undefined; bar: string | undefined; method1(arg0: number): nu… 62 …> number) | undefined; foo: string | undefined; bar: string | undefined; method1(arg0: number): nu… 68 …> number) | undefined; foo: string | undefined; bar: string | undefined; method1(arg0: number): nu… 72 var k = obj.method1(0); 74 >obj.method1(0) : number 75 >obj.method1 : (arg0: number) => number [all …]
|
D | es6ModuleClassDeclaration.symbols | 19 private method1() { 20 >method1 : Symbol(c.method1, Decl(es6ModuleClassDeclaration.ts, 6, 26)) 49 private method1() { 50 >method1 : Symbol(c2.method1, Decl(es6ModuleClassDeclaration.ts, 22, 26)) 88 private method1() { 89 >method1 : Symbol(c3.method1, Decl(es6ModuleClassDeclaration.ts, 42, 30)) 118 private method1() { 119 >method1 : Symbol(c4.method1, Decl(es6ModuleClassDeclaration.ts, 58, 30)) 163 private method1() { 164 >method1 : Symbol(c3.method1, Decl(es6ModuleClassDeclaration.ts, 80, 30)) [all …]
|
D | contextuallyTypedClassExpressionMethodDeclaration02.symbols | 26 method1(arg: A): void; 27 >method1 : Symbol(Bar.method1, Decl(contextuallyTypedClassExpressionMethodDeclaration02.ts, 12, 15)) 42 method1(arg) { 43 >method1 : Symbol((Anonymous class).method1, Decl(contextuallyTypedClassExpressionMethodDeclaration… 64 method1 = (arg) => { 65 >method1 : Symbol((Anonymous class).method1, Decl(contextuallyTypedClassExpressionMethodDeclaration… 86 method1 = function (arg) { 87 >method1 : Symbol((Anonymous class).method1, Decl(contextuallyTypedClassExpressionMethodDeclaration…
|
D | contextuallyTypedClassExpressionMethodDeclaration02.types | 17 method1(arg: A): void; 18 >method1 : (arg: A) => void 30 >class { method1(arg) { arg.numProp = 10; } method2(arg) { … 32 method1(arg) { 33 >method1 : (arg: any) => void 61 >class { method1 = (arg) => { arg.numProp = 10; } method2 = (arg) =… 63 method1 = (arg) => { 64 >method1 : (arg: any) => void 94 >class { method1 = function (arg) { arg.numProp = 10; } method2 = f… 96 method1 = function (arg) { [all …]
|
D | contextuallyTypedClassExpressionMethodDeclaration01.types | 13 method1(arg: A): void; 14 >method1 : (arg: A) => void 26 >class { static method1(arg) { arg.numProp = 10; } static method2(a… 28 static method1(arg) { 29 >method1 : (arg: any) => void 57 >class { static method1 = (arg) => { arg.numProp = 10; } static met… 59 static method1 = (arg) => { 60 >method1 : (arg: A) => void 90 >class { static method1 = function (arg) { arg.numProp = 10; } stat… 92 static method1 = function (arg) { [all …]
|
D | contextuallyTypedObjectLiteralMethodDeclaration01.js | 11 method1(arg: A): void; 17 method1(arg) { 28 method1: (arg) => { 39 method1: function (arg) { 51 method1: function (arg) { 61 method1: function (arg) { 71 method1: function (arg) {
|
D | contextuallyTypedClassExpressionMethodDeclaration02.js | 15 method1(arg: A): void; 21 method1(arg) { method in AnonymousClass6c55fc790101 32 method1 = (arg) => { field in AnonymousClass6c55fc790201 43 method1 = function (arg) { method in AnonymousClass6c55fc790301 57 class_1.prototype.method1 = function (arg) { method in class_1 69 this.method1 = function (arg) { method 82 this.method1 = function (arg) { method
|
D | contextuallyTypedObjectLiteralMethodDeclaration01.symbols | 19 method1(arg: A): void; 20 >method1 : Symbol(Foo.method1, Decl(contextuallyTypedObjectLiteralMethodDeclaration01.ts, 8, 15)) 35 method1(arg) { 36 >method1 : Symbol(method1, Decl(contextuallyTypedObjectLiteralMethodDeclaration01.ts, 14, 12)) 62 method1: (arg) => { 63 >method1 : Symbol(method1, Decl(contextuallyTypedObjectLiteralMethodDeclaration01.ts, 25, 12)) 89 method1: function (arg) { 90 >method1 : Symbol(method1, Decl(contextuallyTypedObjectLiteralMethodDeclaration01.ts, 36, 12))
|
D | es6ModuleClassDeclaration.types | 23 private method1() { 24 >method1 : () => void 57 private method1() { 58 >method1 : () => void 102 private method1() { 103 >method1 : () => void 136 private method1() { 137 >method1 : () => void 189 private method1() { 190 >method1 : () => void [all …]
|
D | contextuallyTypedClassExpressionMethodDeclaration01.symbols | 19 method1(arg: A): void; 20 >method1 : Symbol(Foo.method1, Decl(contextuallyTypedClassExpressionMethodDeclaration01.ts, 8, 15)) 35 static method1(arg) { 36 >method1 : Symbol((Anonymous class).method1, Decl(contextuallyTypedClassExpressionMethodDeclaration… 57 static method1 = (arg) => { 58 >method1 : Symbol((Anonymous class).method1, Decl(contextuallyTypedClassExpressionMethodDeclaration… 83 static method1 = function (arg) { 84 >method1 : Symbol((Anonymous class).method1, Decl(contextuallyTypedClassExpressionMethodDeclaration…
|
D | contextuallyTypedClassExpressionMethodDeclaration01.js | 11 method1(arg: A): void; 17 static method1(arg) { method in AnonymousClass6c5570180101 28 static method1 = (arg) => { field in AnonymousClass6c5570180201 39 static method1 = function (arg) { method in AnonymousClass6c5570180301 53 class_1.method1 = function (arg) { function 69 _a.method1 = function (arg) { function 84 _a.method1 = function (arg) {
|
D | checkJsdocTypeTagOnObjectProperty2.symbols | 14 method1(n1) { 15 >method1 : Symbol(method1, Decl(0.js, 4, 10)) 39 var s = obj.method1(0); 41 >obj.method1 : Symbol(method1, Decl(0.js, 4, 10)) 43 >method1 : Symbol(method1, Decl(0.js, 4, 10))
|
D | checkJsdocTypeTagOnObjectProperty1.symbols | 19 method1(n1) { 20 >method1 : Symbol(method1, Decl(0.js, 6, 12)) 57 var k = obj.method1(0); 59 >obj.method1 : Symbol(method1, Decl(0.js, 6, 12)) 61 >method1 : Symbol(method1, Decl(0.js, 6, 12))
|
D | uniqueSymbolsDeclarationsErrors.types | 11 >obj : { method1(p: typeof s): typeof s; method2(p: I["readonlyType"]): I["readonlyType"]; } 12 … method1(p: typeof s): typeof s { return p; }, method2(p: I["readonlyType"]): I["r… 14 method1(p: typeof s): typeof s { 15 >method1 : (p: typeof s) => typeof s 35 >class { method1(p: typeof s): typeof s { return p; } method2(p: I["readonlyType"])… 37 method1(p: typeof s): typeof s { 38 >method1 : (p: typeof s) => typeof s
|
D | checkJsdocTypeTagOnObjectProperty2.js | 8 method1(n1) { method 20 var s = obj.method1(0); 32 method1: function (n1) { method 47 var s = obj.method1(0);
|
D | uniqueSymbolsDeclarationsErrors.js | 8 method1(p: typeof s): typeof s { 17 method1(p: typeof s): typeof s { 68 method1(p) { method 76 method1(p) { method in classExpression 111 method1(p: typeof s): typeof s; 116 method1(p: typeof s): typeof s;
|
D | checkJsdocTypeTagOnObjectProperty1.js | 10 method1(n1) { method 23 var k = obj.method1(0); 37 method1: function (n1) { 51 var k = obj.method1(0);
|
D | uniqueSymbols.js | 146 method1() { return s; }, method 171 method1() { return s; } method in C0 220 method1(): typeof s; 228 method1() { method 248 method1(p: typeof s): typeof s { 257 method1(p: typeof s): typeof s { 366 method1() { return s; }, method 382 method1() { return s; } method in C0 423 method1() { method 441 method1(p) { method [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | es6ModuleClassDeclaration.ts | 9 private method1() { method in c 25 private method1() { method in c2 45 private method1() { method in c3 61 private method1() { method in c4 83 private method1() { method in c3 99 private method1() { method in c4
|
/third_party/typescript/tests/cases/conformance/types/contextualTypes/methodDeclarations/ |
D | contextuallyTypedClassExpressionMethodDeclaration01.ts | 12 method1(arg: A): void; method 18 static method1(arg) { 29 static method1 = (arg) => { 40 static method1 = function (arg) {
|
D | contextuallyTypedObjectLiteralMethodDeclaration01.ts | 12 method1(arg: A): void; method 18 method1(arg) { 29 method1: (arg) => { 40 method1: function (arg) {
|
D | contextuallyTypedClassExpressionMethodDeclaration02.ts | 16 method1(arg: A): void; method 22 method1(arg) { 33 method1 = (arg) => { 44 method1 = function (arg) {
|