diff --git a/.eslintignore b/.eslintignore index b06f3f0..32b17dc 100644 --- a/.eslintignore +++ b/.eslintignore @@ -2,3 +2,4 @@ public dist package.json !.prettierrc.cjs +src/vite-env.d.ts diff --git a/src/vite-env.d.ts b/src/vite-env.d.ts new file mode 100644 index 0000000..ef6964f --- /dev/null +++ b/src/vite-env.d.ts @@ -0,0 +1,14 @@ +/// + +interface ImportMetaEnv { + readonly VITE_BASE_URL: string + readonly VITE_PROXY: string + readonly VITE_FILE_URL: string + readonly VITE_TEMPLATE_URL: string + readonly VITE_ON_LINE_WEB_SOCKET_URL: string + readonly VITE_LEARNING_WEB_SOCKET_URL: string +} + +interface ImportMeta { + readonly env: ImportMetaEnv +}