1 | declare const niceErrors: {
|
2 | readonly 0: "Invalid value for configuration 'enforceActions', expected 'never', 'always' or 'observed'";
|
3 | readonly 1: (annotationType: any, key: PropertyKey) => string;
|
4 | readonly 5: "'keys()' can only be used on observable objects, arrays, sets and maps";
|
5 | readonly 6: "'values()' can only be used on observable objects, arrays, sets and maps";
|
6 | readonly 7: "'entries()' can only be used on observable objects, arrays and maps";
|
7 | readonly 8: "'set()' can only be used on observable objects, arrays and maps";
|
8 | readonly 9: "'remove()' can only be used on observable objects, arrays and maps";
|
9 | readonly 10: "'has()' can only be used on observable objects, arrays and maps";
|
10 | readonly 11: "'get()' can only be used on observable objects, arrays and maps";
|
11 | readonly 12: "Invalid annotation";
|
12 | readonly 13: "Dynamic observable objects cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)";
|
13 | readonly 14: "Intercept handlers should return nothing or a change object";
|
14 | readonly 15: "Observable arrays cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)";
|
15 | readonly 16: "Modification exception: the internal structure of an observable array was changed.";
|
16 | readonly 17: (index: any, length: any) => string;
|
17 | readonly 18: "mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js";
|
18 | readonly 19: (other: any) => string;
|
19 | readonly 20: (other: any) => string;
|
20 | readonly 21: (dataStructure: any) => string;
|
21 | readonly 22: "mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js";
|
22 | readonly 23: "It is not possible to get index atoms from arrays";
|
23 | readonly 24: (thing: any) => string;
|
24 | readonly 25: (property: any, name: any) => string;
|
25 | readonly 26: "please specify a property";
|
26 | readonly 27: (property: any, name: any) => string;
|
27 | readonly 28: (thing: any) => string;
|
28 | readonly 29: "Expecting some object";
|
29 | readonly 30: "invalid action stack. did you forget to finish an action?";
|
30 | readonly 31: "missing option for computed: get";
|
31 | readonly 32: (name: any, derivation: any) => string;
|
32 | readonly 33: (name: any) => string;
|
33 | readonly 34: (name: any) => string;
|
34 | readonly 35: "There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`";
|
35 | readonly 36: "isolateGlobalState should be called before MobX is running any reactions";
|
36 | readonly 37: (method: any) => string;
|
37 | readonly 38: "'ownKeys()' can only be used on observable objects";
|
38 | readonly 39: "'defineProperty()' can only be used on observable objects";
|
39 | };
|
40 | declare const errors: typeof niceErrors;
|
41 | export declare function die(error: string | keyof typeof errors, ...args: any[]): never;
|
42 | export {};
|