Home
last modified time | relevance | path

Searched refs:string (Results 6501 - 6525 of 20062) sorted by relevance

1...<<261262263264265266267268269270>>...803

/third_party/typescript/tests/baselines/reference/
H A DmappedTypeOverlappingStringEnumKeys.js17 address: string;
22 planet: string;
H A DmixinAbstractClassesReturnTypeInference.js50 [x: string]: any;
56 [x: string]: any;
H A DobjectTypePropertyAccess.js4 foo: string;
14 bar: string;
H A DomitTypeTestErrors01.js3 a: string;
37 a: string;
H A DoverloadedConstructorFixesInferencesAppropriately.js12 readonly children: (result: Exclude<TResult, ErrorResult>) => string;
16 constructor(props: string, context: any);
H A DparamsOnlyHaveLiteralTypesWhenAppropriatelyContextualized.js9 K extends string | number | symbol,
25 const foo: {x?: number[]; y?: string[]; } = {};
H A DprivateNameStaticMethod.js3 static #method(param: string): string {
H A DexportImportAndClodule.js4 constructor(public name: string) { }
17 var o: { name: string };
H A DexportNonInitializedVariablesES6.js8 export var c: string;
27 export var c1: string = 'a';
H A DfilterNamespace_import.js5 export type Type = string;
10 a!: string;
H A DgenericConstraint2.js12 class ComparableString implements Comparable<string>{
13 constructor(public currentValue: string) { }
H A DimplicitAnyFromCircularInference.js34 s: string;
37 function foo(x: A): string { return "abc"; }
H A DimportClause_namespaceImport.js4 export class A { a!: string }
16 const c: types.C<string> = "";
H A DindexedAccessRetainsIndexSignature.js3 ({ [P in T]: P } & { [P in U]: never } & { [x: string]: never })[T]
10 type O = Omit<{ a: number, b: string }, 'a'>
H A DinlineJsxFactoryLocalTypeGlobalFallback.js7 [e: string]: {};
23 [e: string]: {};
H A DinvalidUndefinedAssignments.js8 class C { foo: string }
12 interface I { foo: string }
H A DinvalidVoidValues.js11 class C { foo: string }
15 interface I { foo: string }
H A DjsFileCompilationDuplicateVariable.js17 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 DadditionOperatorWithConstrainedTypeParameter.js3 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 DamdImportNotAsPrimaryExpression.js10 name: string;
16 foo: string;
H A DtwoMergedInterfacesWithDifferingOverloads2.js3 (): string;
18 (): string;
H A DtypeInferenceFBoundedTypeParams.js18 [] as [string, string][],
H A DtypeOfThisInStaticMembers.js20 constructor(x: string) { }
21 static foo: string;
H A DtypeOfThisInstanceMemberNarrowedWithLoopAntecedent.js8 data: string;
17 const s: string = this.state.data;
H A DtypeSatisfaction.js10 type T2 = (x: string) => void;
22 a: string

Completed in 23 milliseconds

1...<<261262263264265266267268269270>>...803