chore: fix typos (#1090)

This commit is contained in:
HiiTea
2020-05-01 21:42:58 +08:00
committed by GitHub
parent a6a939f5e0
commit 22717772dd
25 changed files with 42 additions and 42 deletions

View File

@@ -48,7 +48,7 @@ type PropConstructor<T = any> =
| PropMethod<T>
type PropMethod<T> = T extends (...args: any) => any // if is function with args
? { new (): T; (): T; readonly proptotype: Function } // Create Function like contructor
? { new (): T; (): T; readonly proptotype: Function } // Create Function like constructor
: never
type RequiredKeys<T, MakeDefaultRequired> = {