1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import * as tags from './literals';
|
9 | import * as strings from './strings';
|
10 | export * from './array';
|
11 | export * from './object';
|
12 | export * from './template';
|
13 | export * from './partially-ordered-set';
|
14 | export * from './priority-queue';
|
15 | export * from './lang';
|
16 | export { tags, strings };
|
17 | export declare type DeepReadonly<T> = T extends (infer R)[] ? DeepReadonlyArray<R> : T extends Function ? T : T extends object ? DeepReadonlyObject<T> : T;
|
18 | export interface DeepReadonlyArray<T> extends Array<DeepReadonly<T>> {
|
19 | }
|
20 | export declare type DeepReadonlyObject<T> = {
|
21 | readonly [P in keyof T]: DeepReadonly<T[P]>;
|
22 | };
|
23 | export declare type Readwrite<T> = {
|
24 | -readonly [P in keyof T]: T[P];
|
25 | };
|