mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
28 lines
620 B
TypeScript
28 lines
620 B
TypeScript
//// [tests/cases/compiler/declarationEmitJsExportAssignedArrowNoCrash.ts] ////
|
|
|
|
//// [index.d.ts]
|
|
declare namespace Config {
|
|
export {
|
|
InitialOptions,
|
|
};
|
|
}
|
|
export { Config };
|
|
|
|
declare interface ConfigGlobals {
|
|
x: unknown;
|
|
}
|
|
|
|
declare type InitialOptions = {
|
|
globals?: ConfigGlobals;
|
|
};
|
|
//// [repro.js]
|
|
/** @type {(x: import("@jest/types").Config.InitialOptions) => void} */
|
|
module.exports = (x) => {};
|
|
|
|
|
|
|
|
//// [repro.d.ts]
|
|
export = _exports;
|
|
/** @type {(x: import("@jest/types").Config.InitialOptions) => void} */
|
|
declare const _exports: (x: import("@jest/types").Config.InitialOptions) => void;
|