Searched refs:string (Results 6501 - 6525 of 20062) sorted by relevance
1...<<261262263264265266267268269270>>...803
/third_party/typescript/tests/baselines/reference/ |
H A D | mappedTypeOverlappingStringEnumKeys.js | 17 address: string; 22 planet: string;
|
H A D | mixinAbstractClassesReturnTypeInference.js | 50 [x: string]: any;
56 [x: string]: any;
|
H A D | objectTypePropertyAccess.js | 4 foo: string; 14 bar: string;
|
H A D | omitTypeTestErrors01.js | 3 a: string; 37 a: string;
|
H A D | overloadedConstructorFixesInferencesAppropriately.js | 12 readonly children: (result: Exclude<TResult, ErrorResult>) => string; 16 constructor(props: string, context: any);
|
H A D | paramsOnlyHaveLiteralTypesWhenAppropriatelyContextualized.js | 9 K extends string | number | symbol, 25 const foo: {x?: number[]; y?: string[]; } = {};
|
H A D | privateNameStaticMethod.js | 3 static #method(param: string): string {
|
H A D | exportImportAndClodule.js | 4 constructor(public name: string) { } 17 var o: { name: string };
|
H A D | exportNonInitializedVariablesES6.js | 8 export var c: string; 27 export var c1: string = 'a';
|
H A D | filterNamespace_import.js | 5 export type Type = string; 10 a!: string;
|
H A D | genericConstraint2.js | 12 class ComparableString implements Comparable<string>{ 13 constructor(public currentValue: string) { }
|
H A D | implicitAnyFromCircularInference.js | 34 s: string; 37 function foo(x: A): string { return "abc"; }
|
H A D | importClause_namespaceImport.js | 4 export class A { a!: string } 16 const c: types.C<string> = "";
|
H A D | indexedAccessRetainsIndexSignature.js | 3 ({ [P in T]: P } & { [P in U]: never } & { [x: string]: never })[T] 10 type O = Omit<{ a: number, b: string }, 'a'>
|
H A D | inlineJsxFactoryLocalTypeGlobalFallback.js | 7 [e: string]: {}; 23 [e: string]: {};
|
H A D | invalidUndefinedAssignments.js | 8 class C { foo: string } 12 interface I { foo: string }
|
H A D | invalidVoidValues.js | 11 class C { foo: string } 15 interface I { foo: string }
|
H A D | jsFileCompilationDuplicateVariable.js | 17 declare var x: string;
23 out.d.ts(2,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'x' must be of type 'number', but here has type 'string'.
28 declare var x: string;
30 !!! error TS2403: Subsequent variable declarations must have the same type. Variable 'x' must be of type 'number', but here has type 'string'.
|
H A D | additionOperatorWithConstrainedTypeParameter.js | 3 function sum<T extends Record<K, number>, K extends string>(n: number, v: T, k: K) { 7 function realSum<T extends Record<K, number>, K extends string>(n: number, vs: T[], k: K) {
|
H A D | amdImportNotAsPrimaryExpression.js | 10 name: string; 16 foo: string;
|
H A D | twoMergedInterfacesWithDifferingOverloads2.js | 3 (): string; 18 (): string;
|
H A D | typeInferenceFBoundedTypeParams.js | 18 [] as [string, string][],
|
H A D | typeOfThisInStaticMembers.js | 20 constructor(x: string) { } 21 static foo: string;
|
H A D | typeOfThisInstanceMemberNarrowedWithLoopAntecedent.js | 8 data: string; 17 const s: string = this.state.data;
|
H A D | typeSatisfaction.js | 10 type T2 = (x: string) => void; 22 a: string
|
Completed in 23 milliseconds
1...<<261262263264265266267268269270>>...803