File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 36
36
37
37
"ae-missing-release-tag" : {
38
38
"logLevel" : " none"
39
+ },
40
+
41
+ "ae-incompatible-release-tags" : {
42
+ "logLevel" : " none"
39
43
}
40
44
},
41
45
42
46
"tsdocMessageReporting" : {
43
47
"default" : {
44
48
"logLevel" : " warning"
49
+ },
50
+ "tsdoc-code-span-missing-delimiter" : {
51
+ "logLevel" : " none"
45
52
}
46
53
}
47
54
}
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ export type {
49
49
_ExtractGettersFromSetupStore_Keys ,
50
50
_ExtractStateFromSetupStore_Keys ,
51
51
_UnwrapAll ,
52
+ _Awaited ,
52
53
} from './types'
53
54
export { MutationType } from './types'
54
55
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ export type SubscriptionCallback<S> = (
161
161
162
162
// to support TS 4.4
163
163
// TODO: remove in 2.1.0, use Awaited, and up the peer dep to TS 4.5
164
- type _Awaited < T > = T extends null | undefined
164
+ export type _Awaited < T > = T extends null | undefined
165
165
? T // special case for `null | undefined` when not in `--strictNullChecks` mode
166
166
: T extends object & { then ( onfulfilled : infer F ) : any } // `await` only unwraps object types with a callable `then`. Non-object types are not unwrapped
167
167
? F extends ( value : infer V , ...args : any ) => any // if the argument to `then` is callable, extracts the first argument
You can’t perform that action at this time.
0 commit comments