We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9211be7 commit 743329aCopy full SHA for 743329a
napi/parser/test/esm.test.ts
@@ -93,7 +93,7 @@ describe('export type', () => {
93
['export type Foo = {}', true],
94
['export interface Bar {}', true],
95
['export namespace Baz {}', false], // namespace isn't considered a typed export
96
- ];
+ ] as const;
97
test.each(inputs)('%s', (source, isType) => {
98
const ret = parseSync('test.ts', source);
99
expect(ret.module.staticExports.length).toBe(1);
0 commit comments