Taichi Masuyama пре 4 година
родитељ
комит
14f13b4935
1 измењених фајлова са 3 додато и 2 уклоњено
  1. 3 2
      packages/app/src/components/Sidebar/PageTree/ItemNode.ts

+ 3 - 2
packages/app/src/components/Sidebar/PageTree/ItemNode.ts

@@ -1,6 +1,7 @@
-import { IPage } from '~/interfaces/page';
+import { IPage } from '../../../interfaces/page';
+import { HasObjectId } from '../../../interfaces/has-object-id';
 
 
-type IPageForItem = Partial<IPage> & {isTarget?: boolean};
+type IPageForItem = Partial<IPage & {isTarget?: boolean} & HasObjectId>;
 
 
 export class ItemNode {
 export class ItemNode {