Swap to using eslint (#435)

* WIP

* ... and more

* yet more...

* and examples (more-or-less) fixed

* Only problematic promisify left...

* Last batch

* rm config header

* Update

* Use Record

* Bumps
This commit is contained in:
Jaco Greeff
2019-07-14 11:12:46 +02:00
committed by GitHub
parent 7366c6d280
commit 80db504a3b
261 changed files with 1549 additions and 1731 deletions
+1
View File
@@ -16,6 +16,7 @@
* console.log('isString', isString('test')); // => true
* ```
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any,@typescript-eslint/ban-types
export default function isString (value: any): value is string | String {
return typeof value === 'string' || value instanceof String;
}