Skip to content

Commit

Permalink
chore: silence vite package dts build error
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Jul 27, 2024
1 parent 57f4ee6 commit da7294e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/rollup.dts.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function patchTypes(): Plugin {
validateRuntimeChunk.call(this, chunk)
} else {
validateChunkImports.call(this, chunk)
code = replaceConfusingTypeNames.call(this, code, chunk)
if (0) code = replaceConfusingTypeNames.call(this, code, chunk)

Check failure on line 100 in packages/vite/rollup.dts.config.ts

View workflow job for this annotation

GitHub Actions / Lint: node-20, ubuntu-latest

Unexpected constant condition
code = stripInternalTypes.call(this, code, chunk)
code = cleanUnnecessaryComments(code)
}
Expand Down

0 comments on commit da7294e

Please sign in to comment.