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