diff --git a/ppr-ui/package.json b/ppr-ui/package.json index ad5d18bc0..7cfd31bcf 100644 --- a/ppr-ui/package.json +++ b/ppr-ui/package.json @@ -8,7 +8,7 @@ "dev": "vite", "build": "vite build", "serve": "vite preview", - "lint": "eslint --fix . --ext .js,.ts,.vue", + "lint": "eslint . --ext .js,.ts,.vue", "test:unit": "vitest run", "test:coverage": "vitest run --coverage" }, diff --git a/ppr-ui/src/shims-vue.d.ts b/ppr-ui/src/shims-vue.d.ts index 709b52ce1..5bf0ccbab 100644 --- a/ppr-ui/src/shims-vue.d.ts +++ b/ppr-ui/src/shims-vue.d.ts @@ -1,6 +1,7 @@ // "ambient module" - used to describe modules written in JS // (needed for unit test files to find component modules) declare module '*.vue' { - import Vue from 'vue' - export default Vue + import type { DefineComponent } from 'vue' + const component: DefineComponent, Record, unknown> + export default component }