-
-
Notifications
You must be signed in to change notification settings - Fork 186
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
fast-check has no exported member named 'Command' #2779
Comments
Got it, have to run deno with |
@dubzzz I guess the alternative is to include those types in the .d.ts definitions? Or is there a way to trick the TypeScript compiler as-is? |
It's quite surprising as I do export |
And it appears in the generated and published typings https://cdn.jsdelivr.net/npm/[email protected]/lib/types/fast-check-default.d.ts. So it rather seem to be an issue on Skypack side? They probably ignore types published without any backing JS code (in other words pure types like this one). |
Just wondering, is Skypack the only way to use fast-check from deno? |
Unfortunately, the only one I know of today. I just gave a try to something like jsdelivr but the main problem is that it would break because of dependencies not being referenced by an explicit url. In order to really support deno I should potentially do as I do for esm/cjs builds and add yet another build but it would imply some extra post-processing on the file generated by tsc. Just opened a dedicated issue to track this need #2781. No plan to work on it in the coming days but it would help me not to forget about it for the next features. |
💬 Question and Help
Getting this error when loading fast-check via Skypack in a Deno test suite:
fast-check has no exported member named 'Command'
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: