Skip to content

Add TS window declaration for ImageCropElement#25

Merged
keithamus merged 1 commit intomasterfrom
types-ts-add-window-declaration
Sep 12, 2019
Merged

Add TS window declaration for ImageCropElement#25
keithamus merged 1 commit intomasterfrom
types-ts-add-window-declaration

Conversation

@keithamus
Copy link
Copy Markdown
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 ImageCropElement 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 10:29
@keithamus keithamus merged commit 5ede117 into master Sep 12, 2019
@keithamus keithamus deleted the types-ts-add-window-declaration branch September 12, 2019 10:52
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.

2 participants