Skip to content

Commit

Permalink
fix(typings): export types correctly (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
targos authored Oct 14, 2024
1 parent a8182bc commit e21c64e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions base.d.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
export {
type BaseIdcodeSvgRendererProps,
default as BaseIdcodeSvgRenderer,
} from './lib/components/IdcodeSvgRenderer.d.ts';
} from './lib/components/IdcodeSvgRenderer.js';
export {
type BaseMolfileSvgRendererProps,
default as BaseMolfileSvgRenderer,
} from './lib/components/MolfileSvgRenderer.d.ts';
} from './lib/components/MolfileSvgRenderer.js';
export {
type BaseSmilesSvgRendererProps,
default as BaseSmilesSvgRenderer,
} from './lib/components/SmilesSvgRenderer.d.ts';
} from './lib/components/SmilesSvgRenderer.js';
2 changes: 1 addition & 1 deletion core.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './minimal.d.ts';
export * from './minimal.js';
4 changes: 2 additions & 2 deletions full.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from './core';
export * from './core.js';
export {
type StructureEditorProps,
default as StructureEditor,
} from './src/components/StructureEditor';
} from './lib/components/StructureEditor.js';
2 changes: 1 addition & 1 deletion minimal.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ export {
MolfileSvgRenderer,
type SmilesSvgRendererProps,
SmilesSvgRenderer,
} from './lib/index.d.ts';
} from './lib/index.js';

0 comments on commit e21c64e

Please sign in to comment.