* Fix values and types merging in JS module exports * Fix everything * Share `setValueDeclaration` between binder (local merge) and checker (cross-file merge) * Revert accidental changes to baselines * Update baseline from master merge
18 lines
231 B
TypeScript
18 lines
231 B
TypeScript
// @allowJs: true
|
|
// @checkJs: true
|
|
// @noEmit: true
|
|
|
|
// @Filename: /test.js
|
|
module.exports = {
|
|
a: "ok"
|
|
};
|
|
|
|
// @Filename: /index.ts
|
|
import { a } from "./test";
|
|
|
|
declare module "./test" {
|
|
export const a: number;
|
|
}
|
|
|
|
a.toFixed();
|