mirror of
https://github.com/codex-team/editor.js
synced 2024-06-10 09:52:36 +02:00
c5854eea14
* fix(inline-toolbar): appearing logic improved * tests added * fix tests * debounce added * fix test build in github action * increase closeTo delta for ff
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;
|
|
}
|