mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
10 lines
160 B
TypeScript
10 lines
160 B
TypeScript
import elementReady = require('element-ready');
|
|
|
|
const p = elementReady('#unicorn');
|
|
|
|
p.then(element => {
|
|
const el: HTMLElement = element;
|
|
});
|
|
|
|
p.cancel();
|