chore: replace some type casts and fix variable and filename typos (#93)
This commit is contained in:
committed by
Evan You
parent
23ff681418
commit
fbabae0c0a
@@ -110,7 +110,7 @@ export interface MethodOptions {
|
||||
[key: string]: Function
|
||||
}
|
||||
|
||||
export type ExtracComputedReturns<T extends any> = {
|
||||
export type ExtractComputedReturns<T extends any> = {
|
||||
[key in keyof T]: T[key] extends { get: Function }
|
||||
? ReturnType<T[key]['get']>
|
||||
: ReturnType<T[key]>
|
||||
|
||||
Reference in New Issue
Block a user