Skip to content

Commit 0be795f

Browse files
committed
fix type declarations
1 parent 66aebc1 commit 0be795f

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

macro-package/index.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import { Component } from "solid-js"
22

33

4-
export const undestructurePlugin: (mode?: "ts" | "vanilla-js") => any
5-
64
export const component: <
75
Props extends Record<string, any>
86
>(component: Component<Props>) => Component<Props>

macro-package/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "undestructure-macros",
33
"description": "A placeholder package for babel-plugin-solid-undestructure macros",
4-
"version": "0.0.0",
4+
"version": "0.0.1",
55
"main": "src/index.js",
66
"module": "src/index.js",
77
"types": "src/index.d.ts",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "babel-plugin-solid-undestructure",
33
"description": "A Babel plugin for SolidJS that allows you to destructure component props without losing reactivity.",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"main": "src/index.cjs",
66
"types": "src/index.d.ts",
77
"type": "module",

src/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
export const undestructurePlugin: (mode?: "ts" | "vanilla-js") => any

0 commit comments

Comments
 (0)