We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 137ed22 commit f26af87Copy full SHA for f26af87
packages/typescript/test/declarations.js
@@ -147,7 +147,7 @@ test.sequential(
147
// 'types/should-not-be-emitted-types.d.ts' should not be emitted because 'main.ts' does not import/export from it.
148
['main.js', 'types/should-be-emitted-types.d.ts', 'types/main.d.ts']
149
);
150
- expect(declaration.includes('export declare type MyNumber = number;'), declaration).toBe(true);
+ expect(declaration.includes('export type MyNumber = number;'), declaration).toBe(true);
151
}
152
153
test.sequential('supports creating declaration files in declarationDir', async () => {
0 commit comments