Przeglądaj źródła

Added IPageHasId

Taichi Masuyama 4 lat temu
rodzic
commit
0d976acb69
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      packages/app/src/interfaces/page.ts

+ 4 - 0
packages/app/src/interfaces/page.ts

@@ -32,3 +32,7 @@ export type IPage = {
 }
 
 export type IPageForItem = Partial<IPage & {isTarget?: boolean} & HasObjectId>;
+
+export type IPageHasId = IPage & {
+  _id: string,
+};