Skip to content

Commit

Permalink
vite-plugin-kaioken - add types declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
LankyMoose committed Apr 8, 2024
1 parent 4a0e54d commit 0f27447
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/vite-plugin-kaioken/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 3 additions & 0 deletions packages/vite-plugin-kaioken/types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import type { Plugin } from "vite"
declare const plugin: (options?: { devtools: boolean }) => Plugin
export default plugin

0 comments on commit 0f27447

Please sign in to comment.