Skip to content

Commit 413242e

Browse files
committed
Refactor types
1 parent 0257dd5 commit 413242e

File tree

9 files changed

+476
-348
lines changed

9 files changed

+476
-348
lines changed

.gitignore

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
coverage/
55
node_modules/
66
yarn.lock
7-
example/hast-util-to-jsx-runtime.min.js
8-
!lib/components.d.ts
7+
/example/hast-util-to-jsx-runtime.min.js
8+
!/lib/types.d.ts
9+
!/index.d.ts
10+
!/types.d.ts

index.d.ts

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
export type {
2+
Components,
3+
CreateEvaluater,
4+
ElementAttributeNameCase,
5+
EvaluateExpression,
6+
EvaluateProgram,
7+
Evaluater,
8+
ExtraProps,
9+
Fragment,
10+
Jsx,
11+
JsxDev,
12+
Options,
13+
Props,
14+
Source,
15+
Space,
16+
StylePropertyNameCase
17+
} from './lib/types.js'
18+
export {toJsxRuntime} from './lib/index.js'

lib/components.d.ts

-65
This file was deleted.

0 commit comments

Comments
 (0)