UNPKG

@open-kappa/myjson

Version:

A simple JSON management library.

24 lines (23 loc) 727 B
import { MyJson } from "./myjsonImpl"; /** * @brief Hidden properties of MyJson. */ declare class MyJsonProperties { /** Whether the object is mandatory. */ readonly isMandatory: boolean; /** Whether the object is initialized. */ isInitialized: boolean; /** The name of the object. */ name: string; /** The list of constraints. */ readonly constraints: Array<(ref: MyJson) => string>; /** * @brief Constructor. * @param {boolean} isMandatory True if the object must appear in the * hierarchy. * @param {string} name The name of the object. */ constructor(isMandatory: boolean, name: string); } export { MyJsonProperties }; export default MyJsonProperties;