github / remote-input-element

An input element that sends its value to a server endpoint and renders the response body.
https://github.github.io/remote-input-element/examples
MIT License
82 stars 17 forks source link

Add TS window declaration for RemoteInputElement #12

Closed keithamus closed 5 years ago

keithamus commented 5 years ago

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

This PR adds the declaration of RemoteInputElement 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