We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 065647c commit 97b270aCopy full SHA for 97b270a
src/index.ts
@@ -1,12 +1,9 @@
1
// Copyright 2022 MFB Technologies, Inc.
2
3
-import { AsyncRequestStatusEnum } from "./enumerations"
+import { AsyncRequestStatusEnum, AsyncRequestStatus } from "./enumerations"
4
5
type INonErrorState = {
6
- status:
7
- | typeof AsyncRequestStatusEnum.INIT
8
- | typeof AsyncRequestStatusEnum.PENDING
9
- | typeof AsyncRequestStatusEnum.FULFILLED
+ status: Exclude<AsyncRequestStatus, "error">
10
error: null
11
}
12
0 commit comments