DefinitelyTyped/types/domready/domready-tests.ts
Daniel Cassidy a6c82d0c3f [domready] Update to 1.0, apply lint rules, fix common mistakes (#27181)
* Apply standard lint rules to domready.

* Apply strict null checks to domready.

* Return value of callback is not used so declare it void.

* Set domready version number.

domready types are up to date as of domready 1.0.8.
2018-07-12 00:43:15 -07:00

6 lines
81 B
TypeScript

import domready = require("domready");
domready(() => {
// dom is loaded!
});