Skip to content

Commit 106bfdd

Browse files
committed
fix: types
1 parent 281b0bd commit 106bfdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/nuxt.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
*/
66

77
import { addVitePlugin, addWebpackPlugin, defineNuxtModule } from "@nuxt/kit";
8+
import type { NuxtModule } from "@nuxt/schema";
89
import { NUXT_CONFIG_KEY, PLUGIN_NAME } from "./constants";
910
import vite from "./vite";
1011
import webpack from "./webpack";
1112
import type { YamlOptions } from "./";
12-
import type {} from "@nuxt/schema";
1313

1414
/**
1515
* Nuxt plugin
@@ -38,4 +38,4 @@ export default defineNuxtModule<YamlOptions>({
3838
addWebpackPlugin(() => webpack(options));
3939
addVitePlugin(() => vite(options));
4040
},
41-
});
41+
}) as NuxtModule<YamlOptions>;

0 commit comments

Comments
 (0)