Home
last modified time | relevance | path

Searched defs:new (Results 1 – 25 of 63) sorted by relevance

123

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/declFileConstructSignatures/
DdeclFileConstructSignatures_1.ts29 new (/** this is comment about a*/a: string, method
36 new (a: string, ...rests: string[]): string; method
41 new (a: string): string; method
42 new (a: number): number; method
47 new (a: T): T; method
51 new <T extends IGlobalConstructSignature>(a: T): T; method
DdeclFileConstructSignatures_0.ts29 new (/** this is comment about a*/a: string, method
35 new (a: string, ...rests: string[]): string; method
39 new (a: string): string; method
40 new (a: number): number; method
45 new (a: T): T; method
49 new <T extends IConstructSignature>(a: T): T; method
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DconstructSignaturesWithOverloadsThatDifferOnlyByReturnType.ts32 new(x: number, y: string): C; method
33 new(x: number, y: string): C2<number>; // error method
37 new (x: T, y: string): C2<number>; method
38 new (x: T, y: string): C; // error method
39 new <T>(x: T, y: string): C2<T>; method
40 new <T>(x: T, y: string): C; // error method
DprivacyInterface.ts104 new (c1: C1_public); method
105 new (c1: C2_private); method
106 new (): C1_public; method
107 new (c2: number): C2_private; method
131 new (c1: C1_public); method
132 new (c1: C2_private); method
133 new (): C1_public; method
134 new (c2: number): C2_private; method
168 new (c1: C5_public); method
169 new (c1: C6_private); method
[all …]
DconstructSignaturesWithOverloads.ts50 new(x: number, y?: string): C; method
51 new(x: number, y: string): C; method
65 new (x: T, y?: string): C2<T>; method
66 new (x: T, y: string): C2<T>; method
67 new <T>(x: T, y?: string): C2<T>; method
68 new <T>(x: T, y: string): C2<T>; method
DconstructSignaturesWithIdenticalOverloads.ts50 new (x: number, y: string): C; method
51 new (x: number, y: string): C; // error method
65 new (x: T, y: string): C2<T>; method
66 new (x: T, y: string): C2<T>; // error method
67 new <T>(x: T, y: string): C2<T>; method
68 new <T>(x: T, y: string): C2<T>; // error method
DhidingConstructSignatures.ts26 new (a: string): number; // Should be ok method
30 new (a: string): {}; method
34 new (a: string): string; method
DoverloadBindingAcrossDeclarationBoundaries.ts38 new (o: Opt1): Opt1; method
39 new (o: Opt2): Opt2; method
46 new (o: Opt3): Opt3; method
47 new (o: Opt4): Opt4; method
DcommentsOverloads.ts115 new (a: string); method
117 new (b: number); method
123 new (a: string); method
125 new (b: number); method
135 new (a: string); method
137 new (b: number); method
146 new (a: string); method
147 new (b: number); method
DprivacyTypeParameterOfFunctionDeclFile.ts29 new <T extends privateClass>(): privateClass; // Error method
35 new <T extends publicClass>(): publicClass; method
41 new <T extends privateClass>(): privateClass; method
47 new <T extends publicClass>(): publicClass; method
109 new <T>(): publicClass; method
115 new <T>(): publicClass; method
148 new <T extends privateModule.publicClass>(): privateModule.publicClass; // Error method
163 new <T extends privateModule.publicClass>(): privateModule.publicClass; method
185 new <T extends privateClass>(): privateClass; // Error method
191 new <T extends publicClass>(): publicClass; method
[all …]
DcollisionRestParameterInterfaceMembers.ts32 new (_i: number, ...restParameters); // no error - no code gen method
35 new (_i: number); // no error method
DtypesWithSpecializedConstructSignatures.ts43 new(x: 'hi'): Derived1; method
44 new(x: 'bye'): Derived2; method
45 new(x: string): Base; method
DoverrideInterfaceProperty.ts25 new(): Mup<any, any>; method
26 new<K, V>(entries?: readonly (readonly [K, V])[] | null): Mup<K, V>; method
DprivacyTypeParameterOfFunction.ts30 new <T extends privateClass>(): privateClass; method
40 new <T extends publicClass>(): publicClass; method
46 new <T extends privateClass>(): privateClass; method
52 new <T extends publicClass>(): publicClass; method
117 new <T>(): publicClass; method
123 new <T>(): publicClass; method
DderivedInterfaceDoesNotHideBaseSignatures.ts30 new (x: string): string; method
DobjectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts40 new(x: T, y?: U): B<T, U>; method
44 new<T, U>(x: T, y: U): C<T, U>; method
DinterfaceWithConstructSignaturesThatHidesBaseSignature.ts26 new (): { a: number; b: number }; method
DinterfaceWithConstructSignaturesThatHidesBaseSignature2.ts26 new (): { a: number }; // constructors not checked for conformance like a call signature is method
DnongenericPartialInstantiationsRelatedInBothDirections.ts27 new (sample: Partial<T>): Partial<T> method
DprivacyGloInterface.ts97 new (c1: C5_public); method
98 new (): C5_public; method
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/
DvarRedeclaration13.ts22 new(a: number, b: string): number method
26 new(a: number, b: string): number method
31 new(a: number, b: string): number method
Dtest-interface5.ts17 interface A { readonly new(a: number): string }; method
DinterfaceUsedAsValue.ts21 new(): string method
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/privacyFunctionParameterDeclFile/
DprivacyFunctionParameterDeclFile_externalModule.ts29 new (param: privateClass): publicClass; // Error method
35 new (param: publicClass): publicClass; method
41 new (param: privateClass): privateClass; method
47 new (param: publicClass): publicClass; method
294 new (param: privateClass): publicClass; method
300 new (param: publicClass): publicClass; method
306 new (param: privateClass): privateClass; method
312 new (param: publicClass): publicClass; method
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-interface.ts23 new(a: null, b?: string): { a: number, b: string, c?([a, b]): string } method

123