Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export * from "is-what" No type export #88

Open
biggerstar opened this issue Jun 22, 2024 · 3 comments
Open

export * from "is-what" No type export #88

biggerstar opened this issue Jun 22, 2024 · 3 comments

Comments

@biggerstar
Copy link

For example, I am packaging a toolkit for my own use,
using export * from "is-what"
can not export all types and pass them through to the new package, although there is no type prompt,
but js functions can be used normally
I wonder if this is a type definition flaw in Is-what

@biggerstar biggerstar changed the title export * from "is-what" No type exportexport * from "is-what" export * from "is-what" No type export Jun 22, 2024
@mesqueeb
Copy link
Owner

@biggerstar is-what latest major version is ESM only. Your project must enable ESM by adding "type": "module" to package.json.

If you share a minimal reproduction I can look into it!

@biggerstar
Copy link
Author

biggerstar-tools
You can look at this library

@mesqueeb
Copy link
Owner

@biggerstar thanks I'll try to reproduce it. how to reproduce the error? I'll try to debug it from there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants