Skip to content

Commit

Permalink
fix: add types file back
Browse files Browse the repository at this point in the history
  • Loading branch information
obeys committed Dec 16, 2024
1 parent acd244c commit b0503e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/on-load.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GlobalState } from "./types";
import { GlobalState } from "./shared/types";

export const globalState: GlobalState = {
isLoading: false,
Expand Down
4 changes: 4 additions & 0 deletions src/shared/types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export interface GlobalState {
isLoading: boolean;
data: Record<string, unknown>;
}

0 comments on commit b0503e2

Please sign in to comment.