From 2b5e99ceaec5db4214ba790ca2a0cdb224d8bf61 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Tue, 9 Apr 2024 14:56:22 +0700 Subject: [PATCH] feat: add branch children type --- src/stores/branch/types.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/stores/branch/types.ts b/src/stores/branch/types.ts index 180c97ca..b914933d 100644 --- a/src/stores/branch/types.ts +++ b/src/stores/branch/types.ts @@ -29,6 +29,8 @@ export type Branch = { code: string; }; +export type BranchWithChildren = Branch & { branch: Branch[] }; + export type BranchCreate = { taxNo: string; nameEN: string;