Home
last modified time | relevance | path

Searched refs:fn4 (Results 1 - 23 of 23) sorted by relevance

/third_party/typescript/tests/baselines/reference/
H A 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(
[all...]
H A 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(
173 var fn4; global() variable
[all...]
H A 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 `
104 function fn4() { } global() function
[all...]
H A 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 `
100 function fn4() { } global() function
[all...]
H A DfunctionNameConflicts.js17 var fn4;
18 function fn4() { }
43 var fn4;
44 function fn4() { }
H A DtypeArgInferenceWithNull.js4 function fn4<T extends string>(n: T) { }
5 fn4(null);
16 function fn4(n) { } function
17 fn4(null);
H A DenumMemberReduction.js32 export function fn4(optionalEnum?: MyEnum) {
48 exports.fn6 = exports.fn5 = exports.fn4 = exports.fn3 = exports.fn2 = exports.fn = void 0;
79 function fn4(optionalEnum) { function
82 exports.fn4 = fn4;
H A DinvalidReturnStatements.js6 function fn4(): Date { }
43 function fn4() { } function
H A DreturnStatements.js6 function fn4(): void { return; }
47 function fn4() { return; } function
H A DasyncFunctionDeclaration15_es6.js9 async function fn4(): number { } // error
37 function fn4() { function
H A DasyncAwaitWithCapturedBlockScopeVar.js28 async function fn4(): Promise<number> {
143 function fn4() { function
H A DasyncFunctionDeclaration15_es5.js9 async function fn4(): number { } // error
43 function fn4() { function
H A DconditionalTypesSimplifyWhenTrivial.js15 function fn4<T>(x: Extract<T, T>) {
76 function fn4(x) { function
H A DinstanceOfAssignability.js47 function fn4(x: Base|Derived2) { function
160 function fn4(x) {
H A DvarianceMeasurement.js63 const fn4: Fn<string, 0> = fn; // Error
96 var fn4 = fn; // Error variable
H A DasyncWithVarShadowing_es6.js17 async function fn4(x) {
241 function fn4(x) { function
H A DambientErrors.js21 declare function fn4() { };
H A DambientDeclarations.js16 declare function fn4(n: number, y: number): string;
H A DkeyofAndIndexedAccess2.js135 function fn4<K extends number>() {
254 function fn4() { function
/third_party/typescript/tests/baselines/reference/tsbuild/declarationEmit/
H A Dwhen-declaration-file-used-inferred-type-from-referenced-project.js30 export function fn4() {
112 export declare function fn4(): import("@fluentui/pkg1").IThing;
118 exports.fn4 = void 0;
119 function fn4() {
123 exports.fn4 = fn4;
127 {"program":{"fileNames":["../../../../lib/lib.d.ts","../../pkg1/lib/src/index.d.ts","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5386205042-export interface IThing {\r\n a: string;\r\n}\r\nexport interface IThings {\r\n thing1: IThing;\r\n}\r\n",{"version":"8515046367-import { IThings } from '@fluentui/pkg1';\nexport function fn4() {\n const a: IThings = { thing1: { a: 'b' } };\n return a.thing1;\n}","signature":"-9447422063-export declare function fn4(): import(\"@fluentui/pkg1\").IThing;\r\n"}],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts"},"version":"FakeTSVersion"}
153 "version": "8515046367-import { IThings } from '@fluentui/pkg1';\nexport function fn4() {\n const a: IThings = { thing1: { a: 'b' } };\n return a.thing1;\n}",
154 "signature": "-9447422063-export declare function fn4()
[all...]
/third_party/node/test/js-native-api/test_function/
H A Dtest_function.c169 napi_value fn4; in Init() local
173 NULL, &fn4)); in Init()
192 napi_set_named_property(env, exports, "MakeTrackedFunction", fn4)); in Init()
/third_party/libabigail/tests/data/test-abidiff-exit/
H A Dtest-leaf-redundant-v0.c19 void fn4(struct sto2* s) { in fn4() function
H A Dtest-leaf-redundant-v1.c21 void fn4(struct stn2* s) { // was sto2 in fn4() function

Completed in 5 milliseconds