/third_party/typescript/tests/baselines/reference/ |
D | typeArgumentsWithStringLiteralTypes01.types | 13 declare function takeReturnHelloWorld(str: "Hello" | "World"): "Hello" | "World"; 14 >takeReturnHelloWorld : (str: "Hello" | "World") => "Hello" | "World" 15 >str : "Hello" | "World" 60 // They should not be assignable to either "Hello" or "World". 61 export let a = fun1("Hello", "World"); 63 >fun1("Hello", "World") : "Hello" | "World" 66 >"World" : "World" 75 export let c = fun2("Hello", "World"); 77 >fun2("Hello", "World") : "Hello" | "World" 80 >"World" : "World" [all …]
|
D | typeArgumentsWithStringLiteralTypes01.errors.txt | 6 …error TS2345: Argument of type 'string' is not assignable to parameter of type '"Hello" | "World"'. 7 …error TS2345: Argument of type 'string' is not assignable to parameter of type '"Hello" | "World"'. 8 …error TS2345: Argument of type 'string' is not assignable to parameter of type '"Hello" | "World"'. 9 …error TS2345: Argument of type 'string' is not assignable to parameter of type '"Hello" | "World"'. 10 …error TS2345: Argument of type 'string' is not assignable to parameter of type '"Hello" | "World"'. 11 …mentsWithStringLiteralTypes01.ts(54,43): error TS2345: Argument of type '"World"' is not assignabl… 12 …mentsWithStringLiteralTypes01.ts(56,52): error TS2345: Argument of type '"World"' is not assignabl… 13 …mentsWithStringLiteralTypes01.ts(57,43): error TS2345: Argument of type '"World"' is not assignabl… 19 …rgumentsWithStringLiteralTypes01.ts(74,5): error TS2322: Type '"Hello" | "World"' is not assignabl… 20 Type '"World"' is not assignable to type '"Hello"'. [all …]
|
D | asOperator3.types | 30 var d = `Hello ${123} World` as string; 32 >`Hello ${123} World` as string : string 33 >`Hello ${123} World` : string 49 var g = tag `Hello ${123} World` as string; 51 >tag `Hello ${123} World` as string : string 52 >tag `Hello ${123} World` : any 54 >`Hello ${123} World` : string
|
D | optionsCompositeWithIncrementalFalse.types | 2 const x = "Hello World"; 3 >x : "Hello World" 4 >"Hello World" : "Hello World"
|
D | optionsTsBuildInfoFileWithoutIncrementalAndComposite.types | 2 const x = "Hello World"; 3 >x : "Hello World" 4 >"Hello World" : "Hello World"
|
D | importElisionExportNonExportAndDefault.types | 5 MyFunction({msg: "Hello World"}); 6 >MyFunction({msg: "Hello World"}) : error 8 >{msg: "Hello World"} : { msg: string; } 10 >"Hello World" : "Hello World"
|
D | typeArgumentsWithStringLiteralTypes01.symbols | 13 declare function takeReturnHelloWorld(str: "Hello" | "World"): "Hello" | "World"; 63 // They should not be assignable to either "Hello" or "World". 64 export let a = fun1("Hello", "World"); 72 export let c = fun2("Hello", "World"); 80 export let e = fun3("Hello", "Hello", "World", "Foo"); 172 export let b = fun1<"Hello">("Hello", "World"); 180 export let d = fun2<"Hello", "Hello">("Hello", "World"); 184 export let e = fun3<"Hello">("Hello", "World"); 272 // as "Hello" | "World" (or "World" | "Hello"). 273 export let a = fun2<"Hello", "World">("Hello", "World"); [all …]
|
D | ES5For-ofTypeCheck13.types | 14 strSet.add('World') 15 >strSet.add('World') : Set<string> 19 >'World' : "World"
|
D | fatarrowfunctionsInFunctions.types | 10 >{ message: "Hello World", start: function() { var _self = this; setTimeout(fun… 12 message: "Hello World", 14 >"Hello World" : "Hello World"
|
D | stringLiteralTypesAndTuples01.types | 3 let [hello, brave, newish, world] = ["Hello", "Brave", "New", "World"]; 8 >["Hello", "Brave", "New", "World"] : [string, string, string, string] 12 >"World" : "World"
|
D | checkJsxChildrenProperty13.types | 27 >(<InnerButton {...this.props} children="hi"> <div>Hello World</div> </InnerB… 28 ><InnerButton {...this.props} children="hi"> <div>Hello World</div> </InnerBu… 35 <div>Hello World</div> 36 ><div>Hello World</div> : JSX.Element
|
D | declarationEmitClassMemberNameConflict2.types | 9 World 10 >World : Hello.World
|
D | checkJsxChildrenProperty12.types | 40 >(<InnerButton {...this.props} > <div>Hello World</div> </InnerButton>) : JSX.Element 41 ><InnerButton {...this.props} > <div>Hello World</div> </InnerButton> : JSX.Element 47 <div>Hello World</div> 48 ><div>Hello World</div> : JSX.Element
|
/third_party/node/test/es-module/ |
D | test-esm-extension-lookup-deprecation.mjs | 17 await writeFile(path.join(pkgPath, './index.js'), 'console.log("Hello World!")'); 28 assert.match(stdout, /^Hello World!\r?\n$/); 35 await writeFile(path.join(pkgPath, './index.js'), 'console.log("Hello World!")'); 46 assert.match(stdout, /^Hello World!\r?\n$/); 54 await writeFile(path.join(pkgPath, './index.js'), 'console.log("Hello World!")'); 64 assert.match(stdout, /^Hello World!\r?\n$/); 71 await writeFile(path.join(pkgPath, './index.js'), 'console.log("Hello World!")'); 82 assert.match(stdout, /^Hello World!\r?\n$/); 89 await writeFile(path.join(pkgPath, './index.js'), 'console.log("Hello World!")'); 100 assert.match(stdout, /^Hello World!\r?\n$/); [all …]
|
/third_party/glslang/Test/ |
D | hlsl.cbuffer-identifier.vert | 4 matrix World; 26 output.Pos = mul( input.Pos, World ); 29 …output.Norm = mul( input.Norm, World ); // Work when output.Norm = mul( input.Norm, (float3x3)Wor…
|
/third_party/openssl/test/recipes/30-test_evp_data/ |
D | evppkey_ecdsa.txt | 97 Input = "Hello World" 115 Input = "Hello World" 167 Input = "Hello World" 174 Input = "Hello World" 180 Input = "Hello World" 190 Input = "Hello World" 198 Input = "Hello World" 206 Input = "Hello World" 214 Input = "Hello World"
|
/third_party/typescript/tests/baselines/reference/tsbuild/sample1/ |
D | when-module-option-changes.js | 18 export const World = "hello"; constant 125 exports.World = void 0; 126 exports.World = "hello"; 218 exports.World = void 0; 219 exports.World = "hello";
|
D | builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js | 18 export const World = "hello"; constant 125 export declare const World = "hello"; 134 exports.World = void 0; 135 exports.World = "hello";
|
D | builds-till-project-specified.js | 18 export const World = "hello"; constant 118 export declare const World = "hello"; 127 exports.World = void 0; 128 exports.World = "hello";
|
D | building-using-getNextInvalidatedProject.js | 25 export const World = "hello"; constant 98 exports.World = void 0; 99 exports.World = "hello"; 106 export declare const World = "hello";
|
D | cleaning-project-in-not-build-order-doesnt-throw-error.js | 18 export declare const World = "hello"; 27 exports.World = void 0; 28 exports.World = "hello"; 32 export const World = "hello"; constant
|
D | builds-correctly-when-outDir-is-specified.js | 18 export const World = "hello"; constant 106 export declare const World = "hello"; 115 exports.World = void 0; 116 exports.World = "hello";
|
D | cleans-till-project-specified.js | 18 export declare const World = "hello"; 27 exports.World = void 0; 28 exports.World = "hello"; 32 export const World = "hello"; constant
|
D | builds-correctly-when-declarationDir-is-specified.js | 18 export const World = "hello"; constant 106 export declare const World = "hello"; 115 exports.World = void 0; 116 exports.World = "hello";
|
D | removes-all-files-it-built.js | 18 export declare const World = "hello"; 27 exports.World = void 0; 28 exports.World = "hello"; 32 export const World = "hello"; constant
|