Skip to content

Every analytics tool wants a subscription. And your data. I built Twiligent instead. YouTube stats. Instagram stats. One dashboard. Runs locally on your machine.

chore(ts): resolve @shared type imports in the frontend

spacesdrive2eeb7292d078
diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json
index 6dfadb5..669ef69 100644
--- a/frontend/tsconfig.json
+++ b/frontend/tsconfig.json
@@ -1,12 +1,25 @@
{
"extends": "../tsconfig.base.json",
"compilerOptions": {
- "lib": ["ES2024", "DOM", "DOM.Iterable"],
+ "lib": [
+ "ES2024",
+ "DOM",
+ "DOM.Iterable"
+ ],
"jsx": "react-jsx",
- "types": ["vite/client"],
+ "types": [
+ "vite/client"
+ ],
"paths": {
- "@/*": ["./src/*"]
+ "@/*": [
+ "./src/*"
+ ],
+ "@shared/*": [
+ "../shared/*"
+ ]
}
},
- "include": ["src"]
+ "include": [
+ "src"
+ ]
}