@angular-devkit/core
Version:
Angular DevKit - Core Utility Library
15 lines (14 loc) • 560 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.dev/license
*/
import { JsonArray, JsonObject, JsonValue } from '../../json';
export type ChangeListener = (path: string[], newValue: JsonValue | undefined) => void;
export declare function createVirtualAstObject<T extends object = JsonObject>(root: JsonObject | JsonArray, options?: {
exclude?: string[];
include?: string[];
listener?: ChangeListener;
}): T;