Skip to content

Commit 0e21726

Browse files
chore: wip
1 parent cbab5b5 commit 0e21726

File tree

7 files changed

+6
-40
lines changed

7 files changed

+6
-40
lines changed

packages/nuxt/playground/app.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<template>
22
<TestComponent />
3-
</template>
3+
</template>

packages/nuxt/src/module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { addComponent, addComponentsDir, addPlugin, createResolver, defineNuxtModule } from '@nuxt/kit'
1+
import { addComponentsDir, addPlugin, createResolver, defineNuxtModule } from '@nuxt/kit'
22

33
// Module options TypeScript interface definition
44
export interface ModuleOptions {
@@ -14,7 +14,7 @@ export default defineNuxtModule<ModuleOptions>({
1414
defaults: {
1515
prefix: 'TsMaps',
1616
},
17-
setup(options, _nuxt) {
17+
setup(_options, _nuxt) {
1818
const resolver = createResolver(import.meta.url)
1919

2020
// Do not add the extension since the `.ts` will be transpiled to `.mjs` after `npm run prepack`

packages/nuxt/test/basic.test.ts

Lines changed: 0 additions & 15 deletions
This file was deleted.

packages/nuxt/test/fixtures/basic/app.vue

Lines changed: 0 additions & 6 deletions
This file was deleted.

packages/nuxt/test/fixtures/basic/nuxt.config.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

packages/nuxt/test/fixtures/basic/package.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/nuxt/tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"compilerOptions": {
3+
"composite": true,
34
"target": "ESNext",
45
"module": "ESNext",
56
"moduleResolution": "bundler",
67
"strict": true,
78
"strictNullChecks": true,
89
"allowSyntheticDefaultImports": true,
910
"esModuleInterop": true,
10-
"skipLibCheck": true,
1111
"forceConsistentCasingInFileNames": true,
12-
"composite": true
12+
"skipLibCheck": true
1313
}
14-
}
14+
}

0 commit comments

Comments
 (0)