| /third_party/typescript/tests/baselines/reference/ |
| D | derivedUninitializedPropertyDeclaration.js | 10 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
|
| D | declareIdentifierAsBeginningOfStatementExpression01.js | 5 var declare: any; variable 15 var declare; variable
|
| D | asiPreventsParsingAsAmbientExternalModule01.js | 2 var declare: number; variable 11 var declare; variable
|
| D | asiPreventsParsingAsInterface04.js | 2 var declare: boolean, interface: number, I: string; variable 10 var declare, interface, I; variable
|
| D | decoratorInAmbientContext.js | 6 @decorator declare a: number; field in Foo 7 @decorator declare [b]: number; field in Foo
|
| D | mappedTypeGenericInstantiationPreservesHomomorphism.js | 4 export declare function usePrivateType<T extends unknown[]>(...args: T): PrivateMapped<T[any]>; variable 32 export declare function usePrivateType<T extends unknown[]>(...args: T): PrivateMapped<T[any]>; variable
|
| D | mappedTypeConstraints2.js | 82 declare function f1<K extends string>(obj: Mapped1<K>, key: K): void; variable 88 declare function f2<K extends string>(obj: Mapped2<K>, key: `get${K}`): void; variable 94 declare function f3<K extends string>(obj: Mapped3<K>, key: Uppercase<K>): void; variable
|
| D | dynamicNames.js | 19 export declare type T3 = { variable 69 declare type T11 = { variable 87 declare type T15 = { variable 234 export declare type T3 = { variable
|
| D | mappedTypeRelationships.js | 333 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 360 declare function f50<T extends ItemMap>(obj: T, key: keyof T): string; variable 368 declare function f60<U>(x: T1<U>, y: T2<U>): void; variable
|
| D | declarationEmitReexportedSymlinkReference2.js | 6 export declare type A = { variable 9 export declare type B = { variable
|
| D | declarationEmitReexportedSymlinkReference3.js | 6 export declare type A = { variable 9 export declare type B = { variable
|
| D | declarationEmitReexportedSymlinkReference.js | 6 export declare type A = { variable 9 export declare type B = { variable
|
| D | declFileWithErrorsInInputDeclarationFile.js | 4 declare module M { variable
|
| /third_party/typescript/tests/baselines/reference/tsc/declarationEmit/ |
| D | when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js | 36 export declare type ActionCreator<Payload> = { variable 64 export declare type ActionCreator<Payload> = { variable
|
| D | when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js | 36 export declare type ActionCreator<Payload> = { variable 64 export declare type ActionCreator<Payload> = { variable
|
| D | when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js | 33 export declare type ActionCreator<Payload> = { variable 63 export declare type ActionCreator<Payload> = { variable
|
| D | when-same-version-is-referenced-through-source-and-another-symlinked-package.js | 33 export declare type ActionCreator<Payload> = { variable 63 export declare type ActionCreator<Payload> = { variable
|
| D | when-pkg-references-sibling-package-through-indirect-symlink-moduleCaseChange.js | 6 export declare type A = { variable 9 export declare type B = { variable
|
| D | when-pkg-references-sibling-package-through-indirect-symlink.js | 6 export declare type A = { variable 9 export declare type B = { variable
|
| /third_party/typescript/tests/cases/compiler/ |
| D | esNextWeakRefs_IterableWeakMap.ts | 16 declare readonly [Symbol.toStringTag]: "IterableWeakMap"; property in IterableWeakMap 68 declare [Symbol.iterator]: this["entries"]; property in IterableWeakMap
|
| /third_party/typescript/tests/cases/conformance/es6/templates/ |
| D | taggedTemplateStringsWithTagNamedDeclareES6.ts | 3 function declare(x: any, ...ys: any[]) { function
|
| D | taggedTemplateStringsWithTagNamedDeclare.ts | 3 function declare(x: any, ...ys: any[]) { function
|
| /third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/basic_concepts/names/reserved_words/special_mean_but_valid_identifier/ |
| D | declare_is_valid_identifier_2.ts | 24 function declare(): string { function
|
| D | declare_is_valid_identifier_1.ts | 24 var declare: string = "declare"; variable
|
| /third_party/typescript/tests/cases/conformance/externalModules/ |
| D | asiPreventsParsingAsAmbientExternalModule02.ts | 2 var declare: number; variable
|