window.requestIdleCallback polyfill and Types for requestIdleCallback.
$ yarn add @tricot-inc/requestidlecallback-polyfillimport '@tricot-inc/requestidlecallback-polyfill';
window.requestIdleCallback(doFunction);- Fork.
- Create a feature branch.
- Run test suite with the
$ yarn testcommand and confirm that is passes. - Commit your changes.
- Rebase your local changes against the
mainbranch. - Create new Pull Request.
Bugs, feature requests and comments are more than welcome in the issues.
Run build with tsc.
$ yarn buildRun lint with ESLint, gts
$ yarn lintRun Unit test with Jest.
$ yarn testRun formatting with gts fix and Prettier.
$ yarn format