style(types): directus类型标注
All checks were successful
deploy to server / build-and-deploy (push) Successful in 5m24s
All checks were successful
deploy to server / build-and-deploy (push) Successful in 5m24s
- 使用directus-sdk-typegen生成Directus类型
This commit is contained in:
7
app/types/common.ts
Normal file
7
app/types/common.ts
Normal file
@ -0,0 +1,7 @@
|
||||
export type JsonPrimitive = string | number | boolean | null;
|
||||
|
||||
export type JsonArray = JsonValue[];
|
||||
|
||||
export type JsonObject = { [key: string]: JsonValue };
|
||||
|
||||
export type JsonValue = JsonPrimitive | JsonArray | JsonObject;
|
||||
Reference in New Issue
Block a user