Home
last modified time | relevance | path

Searched refs:fn4 (Results 1 – 25 of 123) sorted by relevance

12345

/third_party/typescript/tests/baselines/reference/
DoverloadResolutionClassConstructors.types167 class fn4<T extends string, U extends number> {
168 >fn4 : fn4<T, U>
176 new fn4<string, number>('', 3);
177 >new fn4<string, number>('', 3) : fn4<string, number>
178 >fn4 : typeof fn4
182 new fn4<string, number>(3, ''); // Error
183 >new fn4<string, number>(3, '') : fn4<string, number>
184 >fn4 : typeof fn4
188 new fn4<number, string>('', 3); // Error
189 >new fn4<number, string>('', 3) : fn4<number, string>
[all …]
DoverloadResolution.js67 function fn4<T extends string, U extends number>(n: T, m: U);
68 function fn4<T extends number, U extends string>(n: T, m: U);
69 function fn4() { } function
70 fn4<string, number>('', 3);
71 fn4<string, number>(3, ''); // Error
72 fn4<number, string>('', 3); // Error
73 fn4<number, string>(3, '');
76 fn4('', 3);
77 fn4(3, '');
78 fn4(3, undefined);
[all …]
DoverloadResolutionConstructors.js71 interface fn4 {
75 var fn4: fn4; variable
77 new fn4<string, number>('', 3);
78 new fn4<string, number>(3, ''); // Error
79 new fn4<number, string>('', 3); // Error
80 new fn4<number, string>(3, '');
83 new fn4('', 3);
84 new fn4(3, '');
85 new fn4(3, undefined);
86 new fn4('', null);
[all …]
DoverloadResolutionClassConstructors.js69 class fn4<T extends string, U extends number> { class
73 new fn4<string, number>('', 3);
74 new fn4<string, number>(3, ''); // Error
75 new fn4<number, string>('', 3); // Error
76 new fn4<number, string>(3, ''); // Error
79 new fn4('', 3);
80 new fn4(3, ''); // Error
81 new fn4(3, undefined); // Error
82 new fn4('', null);
85 new fn4<boolean, Date>(null, null); // Error
[all …]
DoverloadResolutionConstructors.types176 interface fn4 {
185 var fn4: fn4;
186 >fn4 : fn4
188 new fn4<string, number>('', 3);
189 >new fn4<string, number>('', 3) : any
190 >fn4 : fn4
194 new fn4<string, number>(3, ''); // Error
195 >new fn4<string, number>(3, '') : any
196 >fn4 : fn4
200 new fn4<number, string>('', 3); // Error
[all …]
DtaggedTemplateStringsWithOverloadResolution3_ES6.js48 function fn4<T extends string, U extends number>(strs: TemplateStringsArray, n: T, m: U);
49 function fn4<T extends number, U extends string>(strs: TemplateStringsArray, n: T, m: U);
50 function fn4(strs: TemplateStringsArray)
51 function fn4() { }
54 fn4 `${ '' }${ 3 }`;
55 fn4 `${ 3 }${ '' }`;
56 fn4 `${ 3 }${ undefined }`;
57 fn4 `${ '' }${ null }`;
60 fn4 `${ null }${ null }`; // Error
63 fn4 `${ true }${ null }`;
[all …]
DtaggedTemplateStringsWithOverloadResolution3.js48 function fn4<T extends string, U extends number>(strs: TemplateStringsArray, n: T, m: U);
49 function fn4<T extends number, U extends string>(strs: TemplateStringsArray, n: T, m: U);
50 function fn4(strs: TemplateStringsArray)
51 function fn4() { }
54 fn4 `${ '' }${ 3 }`;
55 fn4 `${ 3 }${ '' }`;
56 fn4 `${ 3 }${ undefined }`;
57 fn4 `${ '' }${ null }`;
60 fn4 `${ null }${ null }`; // Error
63 fn4 `${ true }${ null }`;
[all …]
DoverloadResolutionClassConstructors.symbols145 class fn4<T extends string, U extends number> {
146 >fn4 : Symbol(fn4, Decl(overloadResolutionClassConstructors.ts, 64, 42))
158 new fn4<string, number>('', 3);
159 >fn4 : Symbol(fn4, Decl(overloadResolutionClassConstructors.ts, 64, 42))
161 new fn4<string, number>(3, ''); // Error
162 >fn4 : Symbol(fn4, Decl(overloadResolutionClassConstructors.ts, 64, 42))
164 new fn4<number, string>('', 3); // Error
165 >fn4 : Symbol(fn4, Decl(overloadResolutionClassConstructors.ts, 64, 42))
167 new fn4<number, string>(3, ''); // Error
168 >fn4 : Symbol(fn4, Decl(overloadResolutionClassConstructors.ts, 64, 42))
[all …]
DoverloadResolutionConstructors.symbols169 interface fn4 {
170 >fn4 : Symbol(fn4, Decl(overloadResolutionConstructors.ts, 66, 42), Decl(overloadResolutionConstruc…
188 var fn4: fn4;
189 >fn4 : Symbol(fn4, Decl(overloadResolutionConstructors.ts, 66, 42), Decl(overloadResolutionConstruc…
190 >fn4 : Symbol(fn4, Decl(overloadResolutionConstructors.ts, 66, 42), Decl(overloadResolutionConstruc…
192 new fn4<string, number>('', 3);
193 >fn4 : Symbol(fn4, Decl(overloadResolutionConstructors.ts, 66, 42), Decl(overloadResolutionConstruc…
195 new fn4<string, number>(3, ''); // Error
196 >fn4 : Symbol(fn4, Decl(overloadResolutionConstructors.ts, 66, 42), Decl(overloadResolutionConstruc…
198 new fn4<number, string>('', 3); // Error
[all …]
DoverloadResolution.types185 function fn4<T extends string, U extends number>(n: T, m: U);
186 >fn4 : { <T extends string, U extends number>(n: T, m: U): any; <T extends number, U extends string…
190 function fn4<T extends number, U extends string>(n: T, m: U);
191 >fn4 : { <T extends string, U extends number>(n: T, m: U): any; <T extends number, U extends string…
195 function fn4() { }
196 >fn4 : { <T extends string, U extends number>(n: T, m: U): any; <T extends number, U extends string…
198 fn4<string, number>('', 3);
199 >fn4<string, number>('', 3) : any
200 >fn4 : { <T extends string, U extends number>(n: T, m: U): any; <T extends number, U extends string…
204 fn4<string, number>(3, ''); // Error
[all …]
DoverloadResolution.symbols167 function fn4<T extends string, U extends number>(n: T, m: U);
168 >fn4 : Symbol(fn4, Decl(overloadResolution.ts, 62, 38), Decl(overloadResolution.ts, 65, 61), Decl(o…
176 function fn4<T extends number, U extends string>(n: T, m: U);
177 >fn4 : Symbol(fn4, Decl(overloadResolution.ts, 62, 38), Decl(overloadResolution.ts, 65, 61), Decl(o…
185 function fn4() { }
186 >fn4 : Symbol(fn4, Decl(overloadResolution.ts, 62, 38), Decl(overloadResolution.ts, 65, 61), Decl(o…
188 fn4<string, number>('', 3);
189 >fn4 : Symbol(fn4, Decl(overloadResolution.ts, 62, 38), Decl(overloadResolution.ts, 65, 61), Decl(o…
191 fn4<string, number>(3, ''); // Error
192 >fn4 : Symbol(fn4, Decl(overloadResolution.ts, 62, 38), Decl(overloadResolution.ts, 65, 61), Decl(o…
[all …]
DtaggedTemplateStringsWithOverloadResolution3.symbols145 function fn4<T extends string, U extends number>(strs: TemplateStringsArray, n: T, m: U);
146 >fn4 : Symbol(fn4, Decl(taggedTemplateStringsWithOverloadResolution3.ts, 43, 7), Decl(taggedTemplat…
156 function fn4<T extends number, U extends string>(strs: TemplateStringsArray, n: T, m: U);
157 >fn4 : Symbol(fn4, Decl(taggedTemplateStringsWithOverloadResolution3.ts, 43, 7), Decl(taggedTemplat…
167 function fn4(strs: TemplateStringsArray)
168 >fn4 : Symbol(fn4, Decl(taggedTemplateStringsWithOverloadResolution3.ts, 43, 7), Decl(taggedTemplat…
172 function fn4() { }
173 >fn4 : Symbol(fn4, Decl(taggedTemplateStringsWithOverloadResolution3.ts, 43, 7), Decl(taggedTemplat…
176 fn4 `${ '' }${ 3 }`;
177 >fn4 : Symbol(fn4, Decl(taggedTemplateStringsWithOverloadResolution3.ts, 43, 7), Decl(taggedTemplat…
[all …]
DtaggedTemplateStringsWithOverloadResolution3_ES6.symbols145 function fn4<T extends string, U extends number>(strs: TemplateStringsArray, n: T, m: U);
146 >fn4 : Symbol(fn4, Decl(taggedTemplateStringsWithOverloadResolution3_ES6.ts, 43, 7), Decl(taggedTem…
156 function fn4<T extends number, U extends string>(strs: TemplateStringsArray, n: T, m: U);
157 >fn4 : Symbol(fn4, Decl(taggedTemplateStringsWithOverloadResolution3_ES6.ts, 43, 7), Decl(taggedTem…
167 function fn4(strs: TemplateStringsArray)
168 >fn4 : Symbol(fn4, Decl(taggedTemplateStringsWithOverloadResolution3_ES6.ts, 43, 7), Decl(taggedTem…
172 function fn4() { }
173 >fn4 : Symbol(fn4, Decl(taggedTemplateStringsWithOverloadResolution3_ES6.ts, 43, 7), Decl(taggedTem…
176 fn4 `${ '' }${ 3 }`;
177 >fn4 : Symbol(fn4, Decl(taggedTemplateStringsWithOverloadResolution3_ES6.ts, 43, 7), Decl(taggedTem…
[all …]
DtaggedTemplateStringsWithOverloadResolution3_ES6.types174 function fn4<T extends string, U extends number>(strs: TemplateStringsArray, n: T, m: U);
175 >fn4 : { <T extends string, U extends number>(strs: TemplateStringsArray, n: T, m: U): any; <T exte…
180 function fn4<T extends number, U extends string>(strs: TemplateStringsArray, n: T, m: U);
181 >fn4 : { <T extends string, U extends number>(strs: TemplateStringsArray, n: T, m: U): any; <T exte…
186 function fn4(strs: TemplateStringsArray)
187 >fn4 : { <T extends string, U extends number>(strs: TemplateStringsArray, n: T, m: U): any; <T exte…
190 function fn4() { }
191 >fn4 : { <T extends string, U extends number>(strs: TemplateStringsArray, n: T, m: U): any; <T exte…
194 fn4 `${ '' }${ 3 }`;
195 >fn4 `${ '' }${ 3 }` : any
[all …]
DtaggedTemplateStringsWithOverloadResolution3.types174 function fn4<T extends string, U extends number>(strs: TemplateStringsArray, n: T, m: U);
175 >fn4 : { <T extends string, U extends number>(strs: TemplateStringsArray, n: T, m: U): any; <T exte…
180 function fn4<T extends number, U extends string>(strs: TemplateStringsArray, n: T, m: U);
181 >fn4 : { <T extends string, U extends number>(strs: TemplateStringsArray, n: T, m: U): any; <T exte…
186 function fn4(strs: TemplateStringsArray)
187 >fn4 : { <T extends string, U extends number>(strs: TemplateStringsArray, n: T, m: U): any; <T exte…
190 function fn4() { }
191 >fn4 : { <T extends string, U extends number>(strs: TemplateStringsArray, n: T, m: U): any; <T exte…
194 fn4 `${ '' }${ 3 }`;
195 >fn4 `${ '' }${ 3 }` : any
[all …]
DfunctionNameConflicts.symbols30 var fn4;
31 >fn4 : Symbol(fn4, Decl(functionNameConflicts.ts, 15, 7))
33 function fn4() { }
34 >fn4 : Symbol(fn4, Decl(functionNameConflicts.ts, 15, 12))
DfunctionNameConflicts.js17 var fn4;
18 function fn4() { } function
43 var fn4;
44 function fn4() { }
DtypeArgInferenceWithNull.js4 function fn4<T extends string>(n: T) { }
5 fn4(null);
16 function fn4(n) { } function
17 fn4(null);
DtypeArgInferenceWithNull.symbols4 function fn4<T extends string>(n: T) { }
5 >fn4 : Symbol(fn4, Decl(typeArgInferenceWithNull.ts, 0, 0))
10 fn4(null);
11 >fn4 : Symbol(fn4, Decl(typeArgInferenceWithNull.ts, 0, 0))
/third_party/typescript/tests/cases/conformance/expressions/functionCalls/
DoverloadResolutionConstructors.ts70 interface fn4 { interface
74 var fn4: fn4; variable
76 new fn4<string, number>('', 3);
77 new fn4<string, number>(3, ''); // Error
78 new fn4<number, string>('', 3); // Error
79 new fn4<number, string>(3, '');
82 new fn4('', 3);
83 new fn4(3, '');
84 new fn4(3, undefined);
85 new fn4('', null);
[all …]
DoverloadResolution.ts66 function fn4<T extends string, U extends number>(n: T, m: U); function
67 function fn4<T extends number, U extends string>(n: T, m: U);
68 function fn4() { }
69 fn4<string, number>('', 3);
70 fn4<string, number>(3, ''); // Error
71 fn4<number, string>('', 3); // Error
72 fn4<number, string>(3, '');
75 fn4('', 3);
76 fn4(3, '');
77 fn4(3, undefined);
[all …]
DoverloadResolutionClassConstructors.ts68 class fn4<T extends string, U extends number> { class
72 new fn4<string, number>('', 3);
73 new fn4<string, number>(3, ''); // Error
74 new fn4<number, string>('', 3); // Error
75 new fn4<number, string>(3, ''); // Error
78 new fn4('', 3);
79 new fn4(3, ''); // Error
80 new fn4(3, undefined); // Error
81 new fn4('', null);
84 new fn4<boolean, Date>(null, null); // Error
[all …]
/third_party/typescript/tests/cases/conformance/es6/templates/
DtaggedTemplateStringsWithOverloadResolution3_ES6.ts48 function fn4<T extends string, U extends number>(strs: TemplateStringsArray, n: T, m: U); function
49 function fn4<T extends number, U extends string>(strs: TemplateStringsArray, n: T, m: U);
50 function fn4(strs: TemplateStringsArray)
51 function fn4() { }
54 fn4 `${ '' }${ 3 }`;
55 fn4 `${ 3 }${ '' }`;
56 fn4 `${ 3 }${ undefined }`;
57 fn4 `${ '' }${ null }`;
60 fn4 `${ null }${ null }`; // Error
63 fn4 `${ true }${ null }`;
[all …]
DtaggedTemplateStringsWithOverloadResolution3.ts48 function fn4<T extends string, U extends number>(strs: TemplateStringsArray, n: T, m: U); function
49 function fn4<T extends number, U extends string>(strs: TemplateStringsArray, n: T, m: U);
50 function fn4(strs: TemplateStringsArray)
51 function fn4() { }
54 fn4 `${ '' }${ 3 }`;
55 fn4 `${ 3 }${ '' }`;
56 fn4 `${ 3 }${ undefined }`;
57 fn4 `${ '' }${ null }`;
60 fn4 `${ null }${ null }`; // Error
63 fn4 `${ true }${ null }`;
[all …]
/third_party/typescript/tests/baselines/reference/tsbuild/declarationEmit/initial-build/
Dwhen-declaration-file-used-inferred-type-from-referenced-project.js30 export function fn4() { function
112 export declare function fn4(): import("@fluentui/pkg1").IThing;
118 exports.fn4 = void 0;
119 function fn4() {
123 exports.fn4 = fn4;

12345