mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
24 lines
1.1 KiB
TypeScript
24 lines
1.1 KiB
TypeScript
//// [declarationUnresolvedGlobalReferencesNoErrors.ts] ////
|
|
export const x: MissingGlobalType = null!;
|
|
export const fn = (a: MissingGlobalType): MissingGlobalType => null!;
|
|
export const fn2 = (a: MissingGlobalType) => null! as MissingGlobalType;
|
|
|
|
export const x2: typeof missingGlobalValue = null!;
|
|
export const fn3 = (a: typeof missingGlobalValue): typeof missingGlobalValue => null!;
|
|
export const fn4 = (a: typeof missingGlobalValue) => null! as typeof missingGlobalValue;
|
|
|
|
|
|
export const o : {
|
|
[missingGlobalValue]: string
|
|
} = null!;
|
|
//// [declarationUnresolvedGlobalReferencesNoErrors.d.ts] ////
|
|
export declare const x: MissingGlobalType;
|
|
export declare const fn: (a: MissingGlobalType) => MissingGlobalType;
|
|
export declare const fn2: (a: MissingGlobalType) => MissingGlobalType;
|
|
export declare const x2: typeof missingGlobalValue;
|
|
export declare const fn3: (a: typeof missingGlobalValue) => typeof missingGlobalValue;
|
|
export declare const fn4: (a: typeof missingGlobalValue) => typeof missingGlobalValue;
|
|
export declare const o: {
|
|
[missingGlobalValue]: string;
|
|
};
|