Home
last modified time | relevance | path

Searched refs:string (Results 6951 - 6975 of 27806) sorted by relevance

1...<<271272273274275276277278279280>>...1113

/third_party/typescript/tests/baselines/reference/
H A DdeclarationEmitExpressionInExtends2.js11 class MyClass extends getClass(2) <string, number> {
54 declare class MyClass extends MyClass_base<string, number> {
H A DdeclarationEmitExpressionInExtends4.js6 class C extends getSomething()<number, string> {
10 class C2 extends SomeUndefinedFunction()<number, string> {
H A DdeclarationEmitForDefaultExportClassExtendingExpression01.js3 getGreeting(): string;
62 getGreeting(): string;
H A DdeclarationEmitReadonlyComputedProperty.js7 readonly [SYMBOL]: string; // remove readonly and @showEmit to see the expected error
57 readonly [SYMBOL]: string;
H A DdestructuringParameterDeclaration7ES5iterable.js3 foo: string,
4 bar: string
H A DdestructuringParameterProperties5.js2 type ObjType1 = { x: number; y: string; z: boolean }
3 type TupleType1 = [ObjType1, number, string]
H A DdestructuringVariableDeclaration2.js4 var {a1, a2}: { a1: number, a2: string } = { a1: true, a2: 1 } // Error
5 var [a3, [[a4]], a5]: [number, [[string]], boolean] = [1, [[false]], true]; // Error
20 var {d: {d1 = ["string", null]}}: { d: { d1: number[] } } = { d: { d1: [1, 2] } }; // Error
38 var _j = { d: { d1: [1, 2] } }.d.d1, d1 = _j === void 0 ? ["string", null] : _j; // Error
H A DmergeTwoInterfaces2.js7 foo: string;
29 foo: string;
H A DmetadataOfClassFromAlias2.js5 field: string;
14 @annotation() array: SomeClass | null | string;
H A DmetadataOfEventAlias.js4 export interface Event { title: string };
8 function Input(target: any, key: string): void { }
H A DmismatchedExplicitTypeParameterAndArgumentType.js11 var r7 = map<number, string>([1, ""], (x) => x.toString()); // error
13 var r8 = map<any, string>([1, ""], (x) => x.toString());
H A DmoduleAugmentationExtendAmbientModule2.js13 let someAnotherValue: string;
60 let someAnotherValue: string;
H A Dmultiline.js4 export const texts: string[] = [];
21 export function MyComponent(props: { foo: string }) {
H A DnarrowingRestGenericCall.js3 foo: string;
4 bar: string;
H A DparameterInitializersForwardReferencing1_es6.js2 let foo: string = "";
38 function f8(foo1: string, bar = foo1) { }
H A DpropertyAccessOnTypeParameterWithConstraints4.js5 var a = x['notHere'](); // should be string
22 var r3: string = a().notHere();
23 var r3b: string = a()['notHere']();
27 var a = x['notHere'](); // should be string
41 var a = x['notHere'](); // should be string
55 var a = x['notHere'](); // should be string
H A DpropertyAccessOnTypeParameterWithoutConstraints.js5 var a = x['toString'](); // should be string
22 var r3: string = a().toString();
23 var r3b: string = a()['toString']();
27 var a = x['toString'](); // should be string
40 var a = x['toString'](); // should be string
54 var a = x['toString'](); // should be string
H A DexportAssignmentOfGenericType1.js11 class M extends q<string> { }
13 var r: string = m.foo;
H A DgeneratorTypeCheck62.js3 lastStrategyApplied?: string;
6 export function strategy<T extends StrategicState>(stratName: string, gen: (a: T) => IterableIterator<T | undefined>): (a: T) => IterableIterator<T | undefined> {
H A DgeneratorTypeCheck63.js3 lastStrategyApplied?: string;
6 export function strategy<T extends StrategicState>(stratName: string, gen: (a: T) => IterableIterator<T | undefined>): (a: T) => IterableIterator<T | undefined> {
H A DgenericCallWithFunctionTypedArguments5.js12 var r3 = foo({ cb: (x: string, y: number) => '' }); // error
21 var r6 = foo({ cb: (x: string) => '' }); // string
22 var r7 = foo({ cb: () => '' }); // string
41 var r6 = foo({ cb: function (x) { return ''; } }); // string
42 var r7 = foo({ cb: function () { return ''; } }); // string
H A DgenericObjectSpreadResultInSwitch.js3 foo: string;
4 } & ({ tag: 'a'; type: number } | { tag: 'b'; type: string });
22 // TS 4.3: string | number
28 // TS 4.2: string
29 // TS 4.3: string | number
57 // TS 4.3: string | number
62 // TS 4.2: string
63 // TS 4.3: string | number
H A DidentityForSignaturesWithTypeParametersAndAny.js12 var i: <T, U>(x: any, y: string) => any;
15 var j: <T, U>(x: any, y: any) => string;
H A DimportUsedInExtendsList1.js4 export class Super { foo: string; }
11 var r: string = s.foo;
H A DindirectTypeParameterReferences.js4 type B = {b: string}
15 const {combined, literal} = flowtypes<{a: string}>({b: 'b-value'})

Completed in 68 milliseconds

1...<<271272273274275276277278279280>>...1113