ng2-json-editor
Version:
Angular2 component for editing large json documents
17 lines (16 loc) • 465 B
TypeScript
import { JSONSchema } from '../shared/interfaces';
/**
* AnyFieldComponent
*
* This is a dummy component that has no logic, just passes @Input to its child and
* propagates its child's output to its parent.
*
* IMPORTANT:
* On the other hand it has smart template which has logic to decide which type of
* component to use according to schema.
*/
export declare class AnyTypeFieldComponent {
schema: JSONSchema;
path: Array<any>;
value: any;
}