mirror of
https://github.com/codex-team/editor.js
synced 2024-06-10 18:03:25 +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;
|
||
|
}
|