mirror of
https://github.com/codex-team/editor.js
synced 2024-05-17 05:46:46 +02:00
12 lines
276 B
TypeScript
12 lines
276 B
TypeScript
|
interface ImportMetaEnv {
|
||
|
/**
|
||
|
* Build environment.
|
||
|
* For example, used to detect building for tests and add "data-cy" attributes for DOM querying.
|
||
|
*/
|
||
|
readonly MODE: "test" | "development" | "production";
|
||
|
}
|
||
|
|
||
|
interface ImportMeta {
|
||
|
readonly env: ImportMetaEnv;
|
||
|
}
|