引入 husky,并全局重新格式化
This commit is contained in:
@@ -37,9 +37,9 @@ export type Resource<T extends 1 | 2 = 1 | 2> = {
|
||||
updated_at: Date
|
||||
} & (
|
||||
T extends 1 ? {
|
||||
type: 1
|
||||
short: ResourceShort
|
||||
} :
|
||||
type: 1
|
||||
short: ResourceShort
|
||||
} :
|
||||
T extends 2 ? {
|
||||
type: 2
|
||||
long: ResourceLong
|
||||
|
||||
Reference in New Issue
Block a user