add eslint plugin unicorn

This commit is contained in:
MapleLeaf
2021-12-08 20:16:55 -06:00
parent 0953b4d831
commit 7acce161b5
9 changed files with 480 additions and 16 deletions

View File

@@ -1,3 +1,4 @@
// eslint-disable-next-line import/no-unused-modules
export type Deferred<T> = PromiseLike<T> & {
resolve: (value: T | PromiseLike<T>) => void
reject: (reason?: unknown) => void