UNPKG

883 BTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import * as tags from './literals';
9import * as strings from './strings';
10export * from './array';
11export * from './object';
12export * from './template';
13export * from './partially-ordered-set';
14export * from './priority-queue';
15export * from './lang';
16export { tags, strings };
17export declare type DeepReadonly<T> = T extends (infer R)[] ? DeepReadonlyArray<R> : T extends Function ? T : T extends object ? DeepReadonlyObject<T> : T;
18export interface DeepReadonlyArray<T> extends Array<DeepReadonly<T>> {
19}
20export declare type DeepReadonlyObject<T> = {
21 readonly [P in keyof T]: DeepReadonly<T[P]>;
22};
23export declare type Readwrite<T> = {
24 -readonly [P in keyof T]: T[P];
25};