1 | export * from './lib/array-utils';
|
2 | export { default as assert, deprecate } from './lib/assert';
|
3 | export { dict, isDict, isObject, StackImpl as Stack } from './lib/collections';
|
4 | export { beginTestSteps, endTestSteps, logStep, verifySteps } from './lib/debug-steps';
|
5 | export { default as debugToString } from './lib/debug-to-string';
|
6 | export * from './lib/dom';
|
7 | export * from './lib/dom-utils';
|
8 | export * from './lib/immediate';
|
9 | export { default as intern } from './lib/intern';
|
10 | export {
|
11 | isSerializationFirstNode,
|
12 | SERIALIZATION_FIRST_NODE_STRING,
|
13 | } from './lib/is-serialization-first-node';
|
14 | export { assign, entries, values } from './lib/object-utils';
|
15 | export * from './lib/platform-utils';
|
16 | export * from './lib/present';
|
17 | export {
|
18 | castToBrowser,
|
19 | castToSimple,
|
20 | checkBrowserNode as checkNode,
|
21 | isElement,
|
22 | isSimpleElement,
|
23 | } from './lib/simple-cast';
|
24 | export * from './lib/string';
|
25 | export * from './lib/template';
|
26 | export { default as buildUntouchableThis } from './lib/untouchable-this';
|
27 |
|
28 | export type FIXME<T, S extends string> = (T & S) | T;
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 | export const LOCAL_LOGGER = console;
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 | export const LOGGER = console;
|
47 |
|
48 | export function assertNever(value: never, desc = 'unexpected unreachable branch'): never {
|
49 | LOGGER.log('unreachable', value);
|
50 | LOGGER.log(`${desc} :: ${JSON.stringify(value)} (${value})`);
|
51 |
|
52 | throw new Error(`code reached unreachable`);
|
53 | }
|