This repository was archived by the owner on Aug 4, 2021. It is now read-only.
This repository was archived by the owner on Aug 4, 2021. It is now read-only.
export of interface from package results in error #109
Closed
Description
I have a ts module that exports an interface and then I reexport it in index.ts as a public contract for ts users.
I think that rollup expects that exported type is a class or function, type that is emitted to js also.
[!] Error: 'InterfaceXXX' is not exported by src\types.ts
https://github.com/rollup/rollup/wiki/Troubleshooting#name-is-not-exported-by-module
this code works fine when I transpile it using tsc.
is my diagnose correct?
Metadata
Metadata
Assignees
Labels
No labels