mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Add type definitions for dialog-polyfill * Remove self from code-owners list Will be auto-generated and added. * Simplify type definitions for dialog-polyfill * Appease formatting-rules for dialog-polyfill type definitions
7 lines
163 B
TypeScript
7 lines
163 B
TypeScript
import * as dialogPolyfill from 'dialog-polyfill';
|
|
|
|
const element = document.createElement('dialog');
|
|
|
|
// $ExpectType void
|
|
dialogPolyfill.registerDialog(element);
|