Skip to content

Commit f26af87

Browse files
committed
test(typescript): update test to not have declare type
1 parent 137ed22 commit f26af87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/typescript/test/declarations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ test.sequential(
147147
// 'types/should-not-be-emitted-types.d.ts' should not be emitted because 'main.ts' does not import/export from it.
148148
['main.js', 'types/should-be-emitted-types.d.ts', 'types/main.d.ts']
149149
);
150-
expect(declaration.includes('export declare type MyNumber = number;'), declaration).toBe(true);
150+
expect(declaration.includes('export type MyNumber = number;'), declaration).toBe(true);
151151
}
152152
);
153153
test.sequential('supports creating declaration files in declarationDir', async () => {

0 commit comments

Comments
 (0)