1 | import createClient from './client';
|
2 | import DEFAULT from './defaults';
|
3 | import { deprecation } from './constants';
|
4 | import Time from './time';
|
5 | import * as errors from './errors';
|
6 | import * as interpreter from './interpreter';
|
7 | import * as Properties from './properties';
|
8 |
|
9 | export default createClient;
|
10 |
|
11 | function decide(tree, ...args) {
|
12 | deprecation('decide', 'interpreter.decide');
|
13 | return interpreter.decide(tree, ...args);
|
14 | }
|
15 |
|
16 | createClient.decide = decide;
|
17 | createClient.DEFAULT = DEFAULT;
|
18 | createClient.errors = errors;
|
19 | createClient.interpreter = interpreter;
|
20 | createClient.Time = Time;
|
21 | createClient.Properties = Properties;
|
22 |
|
23 | export {
|
24 | createClient,
|
25 | decide,
|
26 | DEFAULT,
|
27 | errors,
|
28 | interpreter,
|
29 | Time,
|
30 | Properties
|
31 | };
|