Home
last modified time | relevance | path

Searched defs:foo (Results 1 – 25 of 687) sorted by relevance

12345678910>>...28

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DanyAssignableToEveryType2.ts32 foo: any; property
38 foo: any; property
44 foo: any; property
50 foo: any; property
56 foo: any; property
62 foo: any; property
68 foo: any; property
74 foo: any; property
77 class A { foo: number; } property in A
80 foo: any; property
[all …]
DsubtypesOfAny.ts32 foo: number; property
38 foo: string; property
44 foo: boolean; property
50 foo: Date; property
56 foo: RegExp; property
62 foo: { bar: number }; property
68 foo: number[]; property
74 foo: I8; property
77 class A { foo: number; } property in A
80 foo: A; property
[all …]
DundefinedIsSubtypeOfEverything.ts29 foo: any; property in D0
33 foo: typeof undefined; property in DA
37 foo: string; property in D1
41 foo: String; property in D1A
46 foo: number; property in D2
50 foo: Number; property in D2A
55 foo: boolean; property in D3
59 foo: Boolean; property in D3A
64 foo: RegExp; property in D4
68 foo: Date; property in D5
[all …]
DspecializedSignatureIsSubtypeOfNonSpecializedSignature.ts29 foo(x: 'a'); method in C
35 foo(x: 'a'); method in C2
42 foo(x: 'a'); method in C3
52 foo(x: 'a'); method
53 foo(x: string); method
54 foo(x: number); method
61 foo(x: 'a'); method
62 foo(x: string); method
63 foo(x: T); method
70 foo(x: 'a'); method
[all …]
DtwoMergedInterfacesWithDifferingOverloads.ts29 foo(x: Date): Date; method
33 foo(x: T): number; method
34 foo(x: string): string; method
38 foo(x: T): Date; method
39 foo(x: Date): string; method
54 foo(x: T, y: U): string; method
55 foo(x: string, y: string): number; method
59 foo<W>(x: W, y: W): W; method
76 foo<A>(x: A, y: A): U; method
80 foo<W>(x: W, y: W): T; method
DcastExpressionParentheses.ts180 (<any>function foo() { })(); function
181 AssertType((<any>function foo() { })(), "any"); function
182 AssertType((<any>function foo() { }), "any"); function
183 AssertType(<any>function foo() { }, "any"); function
184 AssertType(function foo() { }, "() => void"); function
DtypesWithSpecializedCallSignatures.ts28 foo(x: 'hi'): Derived1; method in C
42 foo(x: 'hi'): Derived1; method
43 foo(x: 'bye'): Derived2; method
44 foo(x: string): Base; method
52 foo(x: 'hi'): Derived1; variable
56 foo(x: 'bye'): Derived2; variable
60 foo(x: string): Base; variable
DobjectTypesIdentityWithCallSignaturesWithOverloads.ts33 foo(x: number): number; method in B
42 foo(x: number): number; method in C
52 foo(x: number): number; method
53 foo(x: string): string; method
57 foo(x: number): number; method
58 foo(x: string): string; method
59 foo(x: T): T; method
65 foo(x: number): number variable
69 foo(x: string): string variable
DcollisionCodeGenModuleWithMemberClassConflict.ts25 let foo = new m1.m1(); variable
37 let foo = new m2.m2(); variable
42 let foo = new m2._m2(); variable
DobjectTypesIdentityWithGenericCallSignaturesDifferingByConstraints3.ts26 class Two { foo: string } property in Two
27 interface Three { foo: string } property
28 interface Four<T> { foo: T } property
31 foo: T; property
35 foo<T extends U, U extends One>(x: T, y: U): string { method in A
42 foo(x: T, y: U): string { method in B
49 foo(x: T, y: U): string { method in C
56 foo(x: T, y: U): string { method in D
63 foo(x: T, y: U): string; method
67 foo<T extends U, U extends Six<string, string>>(x: T, y: U): string; method
DcallSignaturesWithOptionalParameters.ts27 AssertType(function foo(x?: number) { }, "(?number) => void"); function
44 foo(1); variable
74 foo(x?: number) { } method in C
91 foo(x: number, y?: number); method
123 foo(x?: number); variable
DcontrolFlowBindingElement.ts55 let foo: string | undefined = ""; variable
83 let foo: string | undefined = ""; variable
111 let foo: string | undefined = ""; variable
139 let foo: string | undefined; variable
183 let foo: string | undefined; variable
227 let foo: string | undefined; variable
DparametersWithNoAnnotationAreAny.ts30 AssertType(function foo(x) { return x; }, "(any) => any"); function
52 foo(x) { method in C
59 foo(x); method
66 foo(x); variable
DindexedAccessKeyofNestedSimplifiedSubstituteUnwrapped.ts30 foo(): void; method
34 foo: Wrapper<AWrapped>; property in A
42 foo: Wrapper<BWrapped>; property in B
DaugmentedTypesClass3.ts26 class c5a { public foo() { } } method in c5a
29 class c5b { public foo() { } } method in c5b
33 class c5c { public foo() { } } method in c5c
DcallSignaturesWithOptionalParameters2.ts51 foo(x?: number); method in C
85 foo(x: number, y?: number); method
86 foo(x: number, y?: number, z?: number); method
135 foo(x: number, y?: number); variable
140 foo(x: number, y?: number, z?: number); variable
DassignmentCompatWithObjectMembers.ts67 class S { foo: S; } property in S
68 class T { foo: T; } property in T
72 interface S2 { foo: S2; } property
73 interface T2 { foo: T2; } property
DfunctionOverloads22.ts22 function foo(bar:string):{a:number; b:string;}[]; function
23 function foo(bar:any):{a:any;b?:any;}[] { function
DfunctionOverloads14.ts22 function foo():{a:string;} function
23 function foo():{a:any;} { function
DcallWithSpread.ts25 function foo(x: number, y: number, ...z: string[]) { function
219 foo(x: number, y: number, ...z: string[]) { method in C
239 foo() { method in D
DcallWithSpreadES6.ts25 function foo(x: number, y: number, ...z: string[]) { function
168 foo(x: number, y: number, ...z: string[]) { method in C
188 foo() { method in D
DtypeParameterFixingWithConstraints.ts26 foo<TBar extends IBar>(bar: TBar, bar1: (bar: TBar) => TBar, bar2: (bar: TBar) => TBar): TBar; method
29 let foo: IFoo; variable
DduplicateVariablesByScope.ts31 function foo() { function
55 foo() { method in C
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-ts-type-assertion.ts18 var foo: any; variable
19 var bar = <string> foo; variable
20 var goo = <C> foo; variable
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/
DfunctionOverload1.ts17 function foo(a: { x: number, y: string }): number; function
19 function foo(a: { x: number | string }) { function

12345678910>>...28