Skip to content
This repository was archived by the owner on Sep 22, 2022. It is now read-only.

Add TS window declaration for DetailsDialogElement #45

Merged
merged 2 commits into from
Sep 12, 2019

Conversation

keithamus
Copy link
Contributor

@keithamus keithamus commented Sep 12, 2019

The TypeScript definition is incomplete as it doesn't properly reflect the assignment to Window.

This PR adds the declaration of DetailsDialogElement to the global window object, as that mutation is happening within the code and so should be reflected in the types.

Refs https://github.com/github/application-architecture/issues/58

@keithamus keithamus requested a review from a team September 12, 2019 09:08
@keithamus keithamus changed the title The TypeScript definition is incomplete as it doesn't properly reflect the assignment to Window. Add TS declaration for DetailsDialogElement Sep 12, 2019
@keithamus keithamus changed the title Add TS declaration for DetailsDialogElement Add TS window declaration for DetailsDialogElement Sep 12, 2019
@keithamus keithamus merged commit c499949 into master Sep 12, 2019
@keithamus keithamus deleted the types-ts-add-window-declaration branch September 12, 2019 10:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants