mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
fix(schema): add declarations to ignore list (#8787)
This commit is contained in:
parent
30d99477ce
commit
4e8f59bf70
@ -338,6 +338,7 @@ export default defineUntypedSchema({
|
|||||||
$resolve: async (val, get) => [
|
$resolve: async (val, get) => [
|
||||||
'**/*.stories.{js,ts,jsx,tsx}', // ignore storybook files
|
'**/*.stories.{js,ts,jsx,tsx}', // ignore storybook files
|
||||||
'**/*.{spec,test}.{js,ts,jsx,tsx}', // ignore tests
|
'**/*.{spec,test}.{js,ts,jsx,tsx}', // ignore tests
|
||||||
|
'**/*.d.ts', // ignore type declarations
|
||||||
'.output',
|
'.output',
|
||||||
await get('ignorePrefix') && `**/${await get('ignorePrefix')}*.*`
|
await get('ignorePrefix') && `**/${await get('ignorePrefix')}*.*`
|
||||||
].concat(val).filter(Boolean)
|
].concat(val).filter(Boolean)
|
||||||
|
2
test/fixtures/basic/plugins/test.d.ts
vendored
Normal file
2
test/fixtures/basic/plugins/test.d.ts
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
interface MyInterface {}
|
||||||
|
export {}
|
Loading…
Reference in New Issue
Block a user