Home
last modified time | relevance | path

Searched refs:string (Results 7776 - 7800 of 21454) sorted by relevance

1...<<311312313314315316317318319320>>...859

/third_party/typescript/tests/baselines/reference/
H A DdestructuringVariableDeclaration1ES6.js4 var {a1, a2}: { a1: number, a2: string } = { a1: 10, a2: "world" }
5 var [a3, [[a4]], a5]: [number, [[string]], boolean] = [1, [["hello"]], true];
9 var { b1: { b11 } = { b11: "string" } } = { b1: { b11: "world" } };
18 var [...c2] = [1,2,3, "string"];
24 var [d1,d2] = [1,"string"]
30 var [d3, d4] = [1, "string", ...temp1];
51 var { b1: { b11 } = { b11: "string" } } = { b1: { b11: "world" } };
59 var [...c2] = [1, 2, 3, "string"];
64 var [d1, d2] = [1, "string"];
69 var [d3, d4] = [1, "string",
[all...]
H A DerrorsOnUnionsOfOverlappingObjects01.js3 a: string;
8 b: string;
H A DmoduleAugmentationDeclarationEmit2.js13 let someAnotherValue: string;
72 let someAnotherValue: string;
H A DnonPrimitiveInGeneric.js27 bound2<string>(); // expect error
81 declare var b: string;
H A DoptionalPropertiesTest.js2 var x: {p1:number; p2?:string; p3?:{():number;};};
7 name?: string;
H A DparameterInitializersForwardReferencing1.js2 let foo: string = "";
38 function f8(foo1: string, bar = foo1) { }
H A DprivateClassPropertyAccessibleWithinNestedClass.js5 private x: string;
10 private static x: string;
H A DprivateNameAccessors.js4 set #prop(param: string) { }
8 constructor(name: string) {
H A DprivateNameStaticAccessors.js4 static set #prop(param: string) { }
8 constructor(name: string) {
H A DprotectedClassPropertyAccessibleWithinNestedClass.js5 protected x: string;
10 protected static x: string;
H A DexportCodeGen.js38 export class C { name: string }
50 class C { name: string }
H A DexportNonInitializedVariablesCommonJS.js8 export var c: string;
27 export var c1: string = 'a';
H A DgenericIsNeverEmptyObject.js4 function test<T extends { a: string }>(obj: T) {
10 let o2: { b: string, x: number } = test(o1);
H A DidenticalTypesNoDifferByCheckOrder.js3 x?: string;
11 x?: string;
H A DimplicitAnyFunctionInvocationWithAnyArguements.js8 function testFunctionExprC(subReplace: (s: string, ...arg: any[]) => string) { }
H A DinOperatorWithValidOperands.js6 var a1: string;
8 var a3: string | number | symbol;
H A DinferenceLimit.js11 public brokenMethod(field: string, value: string) {
H A DinstanceofOperatorWithInvalidOperands.js12 var a3: string;
29 var b3: string;
H A DintersectionWithConflictingPrivates.js2 class A { private x: unknown; y?: string; }
3 class B { private x: unknown; y?: string; }
H A DjsDeclarationsClassExtendsVisibility.js68 const a: string;
69 const b: string;
H A DjsxChildrenGenericContextualTypes.js7 export interface IntrinsicElements { [key: string]: Element }
15 const ElemLit = <T extends string>(p: LitProps<T>) => <div></div>;
H A DClassAndModuleWithSameNameAndCommonRoot.js30 id: string;
40 var a: { id: string };
H A DadditionOperatorWithStringAndEveryType.js7 var d: string;
12 var x: string;
14 // string could plus every type, and the result is always string
15 // string as left operand
24 // string as right operand
56 // string could plus every type, and the result is always string
57 // string as left operand
65 // string a
[all...]
H A DtsxGenericAttributesType3.js4 class B1<T extends { x: string } = { x:string } > extends React.Component<T, {}> {
H A DtsxGenericAttributesType6.js4 class B1<T extends { x: string } = { x:string } > extends React.Component<T, {}> {

Completed in 17 milliseconds

1...<<311312313314315316317318319320>>...859