Skip to content

Commit

Permalink
fix(esm): fix attributes-to-props and dom-to-react exported types
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Feb 14, 2024
1 parent 78b7a8e commit e3c7931
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion esm/attributes-to-props.d.mts
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;
5 changes: 4 additions & 1 deletion esm/dom-to-react.d.mts
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;

0 comments on commit e3c7931

Please sign in to comment.