diff --git a/.changeset/real-maps-complain.md b/.changeset/real-maps-complain.md new file mode 100644 index 0000000..591807f --- /dev/null +++ b/.changeset/real-maps-complain.md @@ -0,0 +1,6 @@ +--- +"@fessional/razor-common": patch +"@fessional/razor-mobile": patch +--- + +🏷️ global common types #56 diff --git a/layers/common/types/common.global.d.ts b/layers/common/types/common.global.d.ts index 98b41ba..57f28fc 100644 --- a/layers/common/types/common.global.d.ts +++ b/layers/common/types/common.global.d.ts @@ -1,6 +1,11 @@ -interface DataResult { - success: boolean; - data?: T; - message?: string; - code?: string; +declare global { + interface DataResult { + success: boolean; + data?: T; + message?: string; + code?: string; + } } + +// +export {};