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

Do not declare global types/constants #524

Merged
merged 1 commit into from
Jun 19, 2022
Merged

Do not declare global types/constants #524

merged 1 commit into from
Jun 19, 2022

Conversation

grncdr
Copy link
Contributor

@grncdr grncdr commented Jan 26, 2022

The submit-event polyfill was being interpreted by TSC as a script and not a module.

This caused all the declarations there to be treated as global in the exported types.

Fixes #523

The submit-event polyfill was being interpreted by TSC as a script and not a module.

This caused all the declarations there to be treated as global in the exported types.
@dhh dhh merged commit f307b8d into hotwired:main Jun 19, 2022
dhh added a commit to feliperaul/turbo that referenced this pull request Jul 16, 2022
* main:
  Allow frames to scroll smoothly into view (hotwired#607)
  Export Type declarations for `turbo:` events (hotwired#452)
  Add .php as a valid isHTML extension (hotwired#629)
  Add original click event to 'turbo:click' details (hotwired#611)
  Drive Browser tests with `playwright` (hotwired#609)
  Allow Turbo Streams w/ GET via `data-turbo-stream` (hotwired#612)
  Only update history when Turbo visit is renderable (hotwired#601)
  Support development ChromeDriver version overrides (hotwired#606)
  Turbo stream source (hotwired#415)
  Expose Frame load state via `[complete]` attribute (hotwired#487)
  fix(ie/edge): form.method='delete', raises Invalid argument. (hotwired#586)
  Do not declare global types/constants (hotwired#524)
  Defensively create custom turbo elements (hotwired#483)
  Use `replaceChildren` in StreamActions.update (hotwired#534)
@grncdr grncdr deleted the patch-1 branch July 19, 2022 15:44
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.

Polyfill types are declaring global variables
2 participants