Closed
Description
The change in #543 is causing a typescript issue when I am attempting to build with the latest version of rc-pagination
I'm seeing:
> tsc -b
node_modules/rc-pagination/lib/index.d.ts:2:1 - error TS1383: Only named exports may use 'export type'.
2 export type * from './interface';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you change this to export * from
./interfaceI believe things will do what you want and avoids this typescript error. This works fine because
interface.ts` is just a collection of types
Metadata
Metadata
Assignees
Labels
No labels
Activity
[-]#543 causes a typescript issue when I am attempting to build with the latest version of `rc-pagination`[/-][+]#543 causes a typescript issue when building with the latest version of `rc-pagination`[/+]afc163 commentedon Dec 13, 2023
Could you provide a reproduce codesandbox?
heath-freenome commentedon Dec 13, 2023
@afc163 Would a link to a failing repo branch work? I discovered this while attempting to upgrade the packages on the library I'm maintaining in https://github.com/rjsf-team/react-jsonschema-form
Here's the PR with the failing build: rjsf-team/react-jsonschema-form#4006