Skip to content

Commit

Permalink
🏷️ global common types #56
Browse files Browse the repository at this point in the history
  • Loading branch information
trydofor committed Oct 17, 2024
1 parent c163a4d commit bf84b72
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .changeset/real-maps-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@fessional/razor-common": patch
"@fessional/razor-mobile": patch
---

🏷️ global common types #56
15 changes: 10 additions & 5 deletions layers/common/types/common.global.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
interface DataResult<T> {
success: boolean;
data?: T;
message?: string;
code?: string;
declare global {
interface DataResult<T> {
success: boolean;
data?: T;
message?: string;
code?: string;
}
}

//
export {};

0 comments on commit bf84b72

Please sign in to comment.