👽 fix typescript typing error (#1096)
This commit is contained in:
parent
dfac957323
commit
f70027cb47
|
|
@ -86,7 +86,7 @@
|
|||
"prettier": "^2.1.2",
|
||||
"rimraf": "^3.0.0",
|
||||
"ts-jest": "^25.2.1",
|
||||
"typescript": "^3.4.5"
|
||||
"typescript": "^4.1.2"
|
||||
},
|
||||
"resolutions": {
|
||||
"@types/react": "^16.x"
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ export function validateExportLifecycle(exports: any) {
|
|||
class Deferred<T> {
|
||||
promise: Promise<T>;
|
||||
|
||||
resolve!: (value?: T | PromiseLike<T>) => void;
|
||||
resolve!: (value: T | PromiseLike<T>) => void;
|
||||
|
||||
reject!: (reason?: any) => void;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user