/third_party/typescript/tests/baselines/reference/ |
H A D | overloadResolution.js | 67 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 D | overloadResolutionConstructors.js | 71 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 D | taggedTemplateStringsWithOverloadResolution3.js | 48 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 D | taggedTemplateStringsWithOverloadResolution3_ES6.js | 48 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 D | functionNameConflicts.js | 17 var fn4; 18 function fn4() { } 43 var fn4;
44 function fn4() { }
|
H A D | typeArgInferenceWithNull.js | 4 function fn4<T extends string>(n: T) { } 5 fn4(null); 16 function fn4(n) { }
function 17 fn4(null);
|
H A D | enumMemberReduction.js | 32 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 D | invalidReturnStatements.js | 6 function fn4(): Date { } 43 function fn4() { }
function
|
H A D | returnStatements.js | 6 function fn4(): void { return; } 47 function fn4() { return; }
function
|
H A D | asyncFunctionDeclaration15_es6.js | 9 async function fn4(): number { } // error 37 function fn4() {
function
|
H A D | asyncAwaitWithCapturedBlockScopeVar.js | 28 async function fn4(): Promise<number> { 143 function fn4() {
function
|
H A D | asyncFunctionDeclaration15_es5.js | 9 async function fn4(): number { } // error 43 function fn4() {
function
|
H A D | conditionalTypesSimplifyWhenTrivial.js | 15 function fn4<T>(x: Extract<T, T>) { 76 function fn4(x) {
function
|
H A D | instanceOfAssignability.js | 47 function fn4(x: Base|Derived2) { function 160 function fn4(x) {
|
H A D | varianceMeasurement.js | 63 const fn4: Fn<string, 0> = fn; // Error 96 var fn4 = fn; // Error
variable
|
H A D | asyncWithVarShadowing_es6.js | 17 async function fn4(x) { 241 function fn4(x) {
function
|
H A D | ambientErrors.js | 21 declare function fn4() { };
|
H A D | ambientDeclarations.js | 16 declare function fn4(n: number, y: number): string;
|
H A D | keyofAndIndexedAccess2.js | 135 function fn4<K extends number>() { 254 function fn4() {
function
|
/third_party/typescript/tests/baselines/reference/tsbuild/declarationEmit/ |
H A D | when-declaration-file-used-inferred-type-from-referenced-project.js | 30 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 D | test_function.c | 169 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 D | test-leaf-redundant-v0.c | 19 void fn4(struct sto2* s) { in fn4() function
|
H A D | test-leaf-redundant-v1.c | 21 void fn4(struct stn2* s) { // was sto2 in fn4() function
|