Skip to content

Commit 851a1d4

Browse files
committed
fix
1 parent 494a76c commit 851a1d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/plugin-dts/src/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ const require = createRequire(__filename);
3434
* for better startup performance. If we use `import ts from 'typescript'`,
3535
* Node.js will use `cjs-module-lexer` to parse it, which slows down startup time.
3636
*/
37+
// eslint-disable-next-line @typescript-eslint/no-var-requires
3738
const ts = require('typescript') as typeof import('typescript');
3839

3940
export { ts };

0 commit comments

Comments
 (0)