diff --git a/packages/vite-plugin-kaioken/package.json b/packages/vite-plugin-kaioken/package.json index 88e124ab..aee78a43 100644 --- a/packages/vite-plugin-kaioken/package.json +++ b/packages/vite-plugin-kaioken/package.json @@ -4,6 +4,7 @@ "description": "", "main": "dist/index.js", "type": "module", + "types": "types.d.ts", "scripts": { "test": "echo \"Error: no test specified\"", "build": "tsx build.ts" diff --git a/packages/vite-plugin-kaioken/types.d.ts b/packages/vite-plugin-kaioken/types.d.ts new file mode 100644 index 00000000..49d3f6f6 --- /dev/null +++ b/packages/vite-plugin-kaioken/types.d.ts @@ -0,0 +1,3 @@ +import type { Plugin } from "vite" +declare const plugin: (options?: { devtools: boolean }) => Plugin +export default plugin