Skip to content

Commit b01a2cb

Browse files
committed
fix: tsconfix fix
1 parent a715300 commit b01a2cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/config/urls.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export const devUrl = 'https://test.mermaidchart.com';
22
export const prodUrl = 'https://mermaidchart.com';
3-
export const baseURL = (import.meta as any).env.PROD ? prodUrl : devUrl;
3+
export const baseURL = import.meta.env.PROD ? prodUrl : devUrl;

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"target": "ES2019",
4-
"types": ["gas-types-detailed"],
4+
"types": ["gas-types-detailed", "vite/client"],
55
"useDefineForClassFields": true,
66
"lib": ["ES2020", "DOM", "DOM.Iterable"],
77
"module": "ESNext",

0 commit comments

Comments
 (0)