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

fix(fast_check): handle JS files, @deno-types and triple slash references #355

Merged
merged 8 commits into from
Jan 10, 2024

Conversation

dsherret
Copy link
Member

Closes #352

@dsherret dsherret requested a review from bartlomieju January 10, 2024 19:26
#[error("Referencing a JavaScript file from a TypeScript file is not supported. Add a declaration file or convert to TypeScript.")]
UnsupportedNestedJavaScript { range: Range },
#[error("JavaScript entrypoints are not supported for fast check.")]
UnsupportedJavaScriptEntrypoint { range: Range },
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just a diagnostic and not a hard error. In the CLI we can catch this diagnostic and then display a warning that we're publishing without fast check support.

@dsherret dsherret merged commit 1d93a9b into denoland:main Jan 10, 2024
3 checks passed
@dsherret dsherret deleted the fix_support_js_fast_check branch January 10, 2024 21:14
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

Successfully merging this pull request may close these issues.

Fast check - Ensure works with @deno-types and triple slash references
2 participants