@angular/compiler
Version:
Angular - the compiler library
19 lines (18 loc) • 570 B
TypeScript
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import * as o from './output_ast';
export declare type MapEntry = {
key: string;
quoted: boolean;
value: o.Expression;
};
export declare type MapLiteral = MapEntry[];
export declare function mapEntry(key: string, value: o.Expression): MapEntry;
export declare function mapLiteral(obj: {
[key: string]: o.Expression;
}, quoted?: boolean): o.Expression;