Home
last modified time | relevance | path

Searched defs:foo2 (Results 1 – 25 of 450) sorted by relevance

12345678910>>...18

/third_party/typescript/tests/cases/conformance/types/typeRelationships/subtypesAndSuperTypes/
DunionSubtypeIfEveryConstituentTypeIsSubtype.ts10 foo2: e | number; // ok property
16 foo2: e | number; // ok e and number both subtype of number property
22 foo2: e | number; // error e and number both not subtype of string property
29 foo2: e | number; property
36 foo2: e | number; property
43 foo2: e | number; property
50 foo2: e | number; property
57 foo2: e | number; property
64 foo2: e | number; property
71 foo2: e | number; property
[all …]
/third_party/typescript/tests/cases/conformance/types/typeRelationships/typeAndMemberIdentity/
DtypeParametersAreIdenticalToThemselves.ts7 function foo2<T, U>(x: T); function
26 foo2<U>(a: T, x: U); method in C
44 foo2<U>(a: T, x: U); method in C2
57 foo2<U>(a: T, x: U); method
58 foo2<U>(a: T, x: U); // no error, different declaration for each U method
71 foo2<U>(a: T, x: U); method
72 foo2<U>(a: T, x: U); // no error, different declaration for each U method
/third_party/typescript/tests/cases/compiler/
DcomputedPropertiesInDestructuring1_ES6.ts9 let foo2 = () => "bar"; variable
10 let {[foo2()]: bar3} = {bar: "bar"}; variable
13 let [{[foo2()]: bar5}] = [{bar: "bar"}]; variable
DcomputedPropertiesInDestructuring1.ts7 let foo2 = () => "bar"; variable
8 let {[foo2()]: bar3} = {bar: "bar"}; variable
11 let [{[foo2()]: bar5}] = [{bar: "bar"}]; variable
DcomputedPropertiesInDestructuring2_ES6.ts3 let foo2 = () => "bar"; variable
4 let {[foo2()]: bar3} = {}; variable
DcomputedPropertiesInDestructuring2.ts1 let foo2 = () => "bar"; variable
2 let {[foo2()]: bar3} = {}; variable
DfunctionOverloads45.ts11 function foo2(bar: { a:number }[]): Cat; function
13 function foo2([x]: { a:number | string }[]): Cat | Dog { function
DoverloadResolutionTest1.ts13 function foo2(bar:{a:number;}):string; function
15 function foo2(bar:{a:any;}):any{ return bar }; function
DfunctionOverloads44.ts11 function foo2(bar: { a:number }[]): Cat; function
13 function foo2([x]: { a:number | string }[]): Cat { function
DcollisionCodeGenModuleWithModuleReopening.ts12 var foo2 = new m1.c1(); variable
29 var foo2 = new m2.m2(); variable
/third_party/typescript/tests/baselines/reference/
DcollisionCodeGenModuleWithModuleReopening.js13 var foo2 = new m1.c1(); variable
30 var foo2 = new m2.m2(); variable
53 var foo2 = new m1.c1(); variable
78 var foo2 = new m2.m2(); variable
DyieldExpressionInnerCommentEmit.js2 function * foo2() { generator
12 function* foo2() { generator
DparserIndexSignature8.js3 var foo2: { [index: RegExp]; }; // expect an error here variable
8 var foo2; // expect an error here variable
DcallSignatureFunctionOverload.js9 var foo2: { variable
19 var foo2; variable
DcallSignaturesWithOptionalParameters2.js12 function foo2(x: number, y?: number) { } function
23 foo2(x: number, y?: number) { } method in C
74 C.prototype.foo2 = function (x, y) { }; method in C
DnullishCoalescingOperator7.js7 const foo2 = a ?? 'foo' ? 1 : 2; constant
18 var foo2 = (a !== null && a !== void 0 ? a : 'foo') ? 1 : 2; variable
DoptionalProperties01.js9 const foo2 = { required1: "hello", optional: "bar" } as Foo; variable
14 var foo2 = { required1: "hello", optional: "bar" }; variable
DpropertySignatures.js6 var foo2: { a; }; variable
27 var foo2; variable
DpropertyAssignment.js5 var foo2: { [index]; } // should be an error, used to be indexer, now it is a computed property variable
20 var foo2; // should be an error, used to be indexer, now it is a computed property variable
DcollisionExportsRequireAndAlias.js16 export function foo2() { function
47 function foo2() { function
/third_party/typescript/tests/cases/conformance/types/objectTypeLiteral/callSignatures/
DcallSignaturesWithAccessibilityModifiersOnParameters.ts9 function foo2(private x: string, public y: number) { } function
17 foo2(public x: number, private y: string) { } method in C
31 foo2(private x: number, public y: string); variable
DcallSignaturesWithDuplicateParameters.ts9 function foo2(x: string, x: number) { } function
17 foo2(x: number, x: string) { } method in C
31 foo2(x: number, x: string); variable
DcallSignaturesWithOptionalParameters2.ts9 function foo2(x: number); function
20 foo2(x: number); method in C
/third_party/typescript/tests/cases/fourslash/
DfindAllRefsImportNamed.ts12 const [ foo0Def, foo0, foo1, foo2Def, foo2, foo3 ] = test.ranges(); constant
13 const fooGroup = { definition: "function foo(a: number, b: number): void", ranges: [foo0, foo2] }; constant
DfindAllRefsImportDefault.ts14 const [ foo0Def, foo0, foo1, foo2Def, foo2, bar0Def, bar0, bar1 ] = test.ranges(); constant
15 const fooGroup = { definition: "function foo(a: number, b: number): number", ranges: [foo0, foo2] }; constant

12345678910>>...18