From 2faf2e34331703b3bdea3eb487cb8799c8d65377 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 19 Sep 2023 18:13:57 +0200 Subject: refactor(build): replace paths aliases with relative paths Using paths aliases starting with "@" can be confusing and can lead to conflict with existings modules. I prefer to use relative paths to avoid extra configuration in tools because of these aliases. --- src/types/swr.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/types/swr.ts (limited to 'src/types/swr.ts') diff --git a/src/types/swr.ts b/src/types/swr.ts new file mode 100644 index 0000000..4da6b2c --- /dev/null +++ b/src/types/swr.ts @@ -0,0 +1,5 @@ +export type SWRResult = { + data?: T; + isLoading: boolean; + isError: boolean; +}; -- cgit v1.2.3