Skip to content

Commit 743329a

Browse files
authored
typescript please trust me
1 parent 9211be7 commit 743329a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

napi/parser/test/esm.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ describe('export type', () => {
9393
['export type Foo = {}', true],
9494
['export interface Bar {}', true],
9595
['export namespace Baz {}', false], // namespace isn't considered a typed export
96-
];
96+
] as const;
9797
test.each(inputs)('%s', (source, isType) => {
9898
const ret = parseSync('test.ts', source);
9999
expect(ret.module.staticExports.length).toBe(1);

0 commit comments

Comments
 (0)