Skip to content

Commit

Permalink
fix: use path type import, fix #4028 (#4031)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanVS committed Jun 30, 2021
1 parent da2a41d commit e092e89
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .eslintrc.js
Expand Up @@ -107,6 +107,12 @@ module.exports = defineConfig({
rules: {
'@typescript-eslint/explicit-module-boundary-types': 'off'
}
},
{
files: ['*.d.ts'],
rules: {
'@typescript-eslint/triple-slash-reference': 'off'
}
}
]
})
2 changes: 1 addition & 1 deletion packages/vite/client.d.ts
@@ -1,5 +1,5 @@
/// <reference lib="dom" />
/// <reference types="vite/types/importMeta" />
/// <reference path="./types/importMeta" />

// CSS modules
type CSSModuleClasses = { readonly [key: string]: string }
Expand Down

0 comments on commit e092e89

Please sign in to comment.