Home
last modified time | relevance | path

Searched defs:declare (Results 1 – 25 of 151) sorted by relevance

1234567

/third_party/typescript/tests/baselines/reference/
DmappedTypes1.js50 declare type Item = { variable
55 declare type T00 = { variable
58 declare type T01 = { variable
61 declare type T02 = { variable
64 declare type T03 = { variable
67 declare type T10 = { variable
79 declare type T20 = { variable
82 declare type T21 = { variable
85 declare type T30 = { variable
88 declare type T31 = { variable
[all …]
DmappedTypesArraysTuples.js128 declare type Box<T> = { variable
131 declare type Boxified<T> = { variable
151 declare type A = { variable
154 declare type B = { variable
193 declare type Awaitified<T> = { variable
200 declare type Mapped<T> = { variable
DmappedTypes4.js96 declare type Boxified<T> = { variable
99 declare function boxify<T>(obj: T): Boxified<T>; variable
103 declare type B = { variable
106 declare type C = { variable
125 declare type Foo = { variable
143 declare type Z = { variable
146 declare type Clone<T> = { variable
DmappedTypeWithAny.js37 declare type Item = { variable
40 declare type ItemMap<T> = { variable
54 declare type Data = { variable
57 declare type StrictDataMap<T> = { variable
DdeferredLookupTypeResolution2.js41 declare type E<T> = { variable
44 declare type Juxtapose<T> = ({ variable
49 declare type DeepError<T> = { variable
52 declare type DeepOK<T> = { variable
DderivedUninitializedPropertyDeclaration.js10 declare property: any; // ok because it's implicitly initialised field in BD
13 declare property!: any; // ! is not allowed, this is an ambient declaration field in BDBang
16 declare m() { return 2 } // not allowed on methods field in BOther
17 declare nonce: any; // ok, even though it's not in the base field in BOther
18 declare property = 'y' // initialiser not allowed with declare field in BOther
21 declare nonce: any; // ok, even though there's no base field in U
31 declare p: 'bye'; // ok field in DD
77 declare a: number; field in M
DmappedTypeErrors2.js28 declare type AB = { variable
32 declare type T1<K extends keyof AB> = { variable
37 declare type T3 = { variable
41 declare type T5<S extends 'a' | 'b' | 'extra'> = { variable
DmappedTypeAsClauses.js161 declare type Methods<T> = { variable
169 declare type DoubleProp<T> = { variable
187 declare type Example = { variable
213 declare type OnlyPrimitives<T> = { variable
231 declare type Task = { variable
234 declare type Schema = { variable
DmappedTypeRelationships.js333 declare function f2<T, K extends keyof T>(x: T, k: K): T[K]; variable
350 declare function f30<T>(x: T, y: Partial<T>): void; variable
357 declare type ItemMap = { variable
360 declare function f50<T extends ItemMap>(obj: T, key: keyof T): string; variable
365 declare type T2<T> = { variable
368 declare function f60<U>(x: T1<U>, y: T2<U>): void; variable
DdeclareIdentifierAsBeginningOfStatementExpression01.js5 var declare: any; variable
15 var declare; variable
DasiPreventsParsingAsAmbientExternalModule01.js2 var declare: number; variable
11 var declare; variable
DrecursiveMappedTypes.js107 export declare type Circular<T> = { variable
110 declare type NonOptionalKeys<T> = { variable
113 declare type Child<T> = { variable
DasiPreventsParsingAsInterface04.js2 var declare: boolean, interface: number, I: string; variable
10 var declare, interface, I; variable
DkeyofIntersection.js35 declare type A = { variable
38 declare type B = { variable
DconditionalTypes2.js338 declare function f1<A, B extends A>(a: Covariant<A>, b: Covariant<B>): void; variable
349 declare type Bar = { variable
429 declare type UnionComplement = { variable
434 declare type UnionComplementComplement = { variable
439 declare type ProductComplement = { variable
446 declare type ProductComplementComplement = { variable
486 declare type Wat<K extends string> = { variable
DconditionalTypes1.js350 declare function assign<T>(o: T, a: RecursivePartial<T>): void; variable
469 declare function f1<T>(x: T, y: NonNullable<T>): void; variable
527 declare type KnockoutObservable<T> = { variable
530 declare type KnockoutObservableArray<T> = { variable
534 declare type KnockedOutObj<T> = { variable
549 declare type FunctionPropertyNames<T> = { variable
553 declare type NonFunctionPropertyNames<T> = { variable
709 declare type Extracted<Struct> = { variable
DcircularIndexedAccessErrors.js59 declare type T1 = { variable
62 declare type T2<K extends "x" | "y"> = { variable
DdynamicNames.js19 export declare type T3 = { variable
69 declare type T11 = { variable
87 declare type T15 = { variable
234 export declare type T3 = { variable
DtemplateLiteralTypes1.js226 declare function getProp2<T, P extends PathKeys<T>>(obj: T, path: P): PropType<T, P>; variable
386 declare type U1 = { variable
407 declare type U2 = { variable
428 declare type U3 = { variable
449 declare type U4 = { variable
470 declare type U5 = { variable
DrecursiveConditionalTypes.js221 declare type Box1<T> = { variable
224 declare type Box2<T> = { variable
236 declare function f21<T extends number>(x: Grow1<[], T>, y: Grow2<[], T>): void; variable
DdeclarationEmitReexportedSymlinkReference2.js6 export declare type A = { variable
9 export declare type B = { variable
/third_party/typescript/tests/baselines/reference/tsc/declarationEmit/
Dwhen-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js36 export declare type ActionCreator<Payload> = { variable
64 export declare type ActionCreator<Payload> = { variable
Dwhen-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js36 export declare type ActionCreator<Payload> = { variable
64 export declare type ActionCreator<Payload> = { variable
Dwhen-same-version-is-referenced-through-source-and-another-symlinked-package.js33 export declare type ActionCreator<Payload> = { variable
63 export declare type ActionCreator<Payload> = { variable
Dwhen-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js33 export declare type ActionCreator<Payload> = { variable
63 export declare type ActionCreator<Payload> = { variable

1234567