Improve the TypeScript types

Use more type guards.
This commit is contained in:
Sindre Sorhus 2019-02-02 03:02:47 +07:00
parent cbd9f061c5
commit f0c73b0f21
3 changed files with 56 additions and 42 deletions

View file

@ -1,3 +1,6 @@
{
"extends": "tslint-xo"
"extends": "tslint-xo",
"rules": {
"interface-over-type-literal": false
}
}