-
-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(esm): fix attributes-to-props and dom-to-react exported types
- Loading branch information
1 parent
78b7a8e
commit e3c7931
Showing
2 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
export { default } from '../lib/attributes-to-props'; | ||
import attributesToProps from '../lib/attributes-to-props.js'; | ||
|
||
// @ts-expect-error Property 'default' exists on type | ||
export default attributesToProps.default || attributesToProps; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
export { default } from '../lib/dom-to-react'; | ||
import domToReact from '../lib/dom-to-react.js'; | ||
|
||
// @ts-expect-error Property 'default' exists on type | ||
export default domToReact.default || domToReact; |