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

feat: resolve panic cause by importMeta type #1089

Merged
merged 2 commits into from
Sep 18, 2023
Merged

Conversation

sunrabbit123
Copy link
Collaborator

Description:

declare global { interface ImportMeta {foo?: () => void} };

if (import.meta.foo) {
  import.meta.foo();
}

BREAKING CHANGE:

Related issue (if exists):

@github-actions
Copy link

github-actions bot commented Sep 17, 2023

Thank you for the PR!
Commit: 00fe369

Files to check

These are files which is affected by the current PR, but not reflected. If there's no file below this message, please ignore this message.

You can run ./scripts/auto-unignore.sh from crates/stc_ts_file_analyzer for typescript files, and ./scripts/check.sh from crates/stc_ts_type_checker for *.stats.rust-debug files.

@kdy1 kdy1 self-assigned this Sep 18, 2023
@kdy1 kdy1 merged commit 8ac1d0d into dudykr:main Sep 18, 2023
7 checks passed
@sunrabbit123 sunrabbit123 added this to the v0.0.1: Correctness milestone Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants