Skip to content

Commit

Permalink
Refactor types
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jul 16, 2024
1 parent 0257dd5 commit 413242e
Show file tree
Hide file tree
Showing 9 changed files with 476 additions and 348 deletions.
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
coverage/
node_modules/
yarn.lock
example/hast-util-to-jsx-runtime.min.js
!lib/components.d.ts
/example/hast-util-to-jsx-runtime.min.js
!/lib/types.d.ts
!/index.d.ts
!/types.d.ts
18 changes: 18 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
export type {
Components,
CreateEvaluater,
ElementAttributeNameCase,
EvaluateExpression,
EvaluateProgram,
Evaluater,
ExtraProps,
Fragment,
Jsx,
JsxDev,
Options,
Props,
Source,
Space,
StylePropertyNameCase
} from './lib/types.js'
export {toJsxRuntime} from './lib/index.js'
65 changes: 0 additions & 65 deletions lib/components.d.ts

This file was deleted.

Loading

0 comments on commit 413242e

Please sign in to comment.