aboutsummaryrefslogtreecommitdiffstats
path: root/packages/preload/types/importMeta.d.ts
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2021-12-30 12:07:19 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2021-12-30 12:38:24 +0100
commite46099ac744919c927909f741d9b5870abab5a58 (patch)
tree393985ecf730f0908db1eefaaedb6fb92c726e40 /packages/preload/types/importMeta.d.ts
parentbuild: Use shared packages through modules (diff)
downloadsophie-e46099ac744919c927909f741d9b5870abab5a58.tar.gz
sophie-e46099ac744919c927909f741d9b5870abab5a58.tar.zst
sophie-e46099ac744919c927909f741d9b5870abab5a58.zip
build: Only use vite typings in renderer
The rest of the packages aren't buld with vite, so we shouldn't use its typings.
Diffstat (limited to 'packages/preload/types/importMeta.d.ts')
-rw-r--r--packages/preload/types/importMeta.d.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/preload/types/importMeta.d.ts b/packages/preload/types/importMeta.d.ts
new file mode 100644
index 0000000..9b73170
--- /dev/null
+++ b/packages/preload/types/importMeta.d.ts
@@ -0,0 +1,7 @@
1interface ImportMeta {
2 env: {
3 DEV: boolean;
4 MODE: string;
5 PROD: boolean;
6 }
7}