mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-04 08:38:34 +00:00
refactor: avoid runtime config object (#8202)
This commit is contained in:
4
tools/@types/env/__all.d.ts
vendored
4
tools/@types/env/__all.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
import type { Environment, RuntimeConfig } from '@affine/env/global';
|
||||
import type { BUILD_CONFIG_TYPE, Environment } from '@affine/env/global';
|
||||
|
||||
declare global {
|
||||
// eslint-disable-next-line no-var
|
||||
@@ -8,7 +8,7 @@ declare global {
|
||||
// eslint-disable-next-line no-var
|
||||
var environment: Environment;
|
||||
// eslint-disable-next-line no-var
|
||||
var runtimeConfig: RuntimeConfig;
|
||||
var BUILD_CONFIG: BUILD_CONFIG_TYPE;
|
||||
// eslint-disable-next-line no-var
|
||||
var $AFFINE_SETUP: boolean | undefined;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user