Skip to content

Commit

Permalink
feat: add noinspection JSUnusedGlobalSymbols (#386)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed May 31, 2023
1 parent 05570dc commit 809996b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/core/ctx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export function createContext(options: Options = {}, root = process.cwd()) {
/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// Generated by unplugin-auto-import
${dts}`.trim()}\n`
},
Expand Down
1 change: 1 addition & 0 deletions test/__snapshots__/dts.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ exports[`dts 1`] = `
"/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// Generated by unplugin-auto-import
export {}
declare global {
Expand Down
1 change: 1 addition & 0 deletions test/tmp/dts.increase.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// Generated by unplugin-auto-import
export {}
declare global {
Expand Down

0 comments on commit 809996b

Please sign in to comment.