Leverage Typescript to perform static, type-aware browser support and compatability checking.
Experimental wild-west phase
- TODO make this actually available on NPM registry
yarn add --dev tslint-browser-compat
- See the example tslint.json for configuration details
{
"extends": ["tslint-browser-compat"],
"rules": {
"no-unsupported-instance-methods": [true]
}
}
yarn install
(make sure you've installed yarn)
yarn test
DEBUG=1 yarn test
if you'd like some debug logging