JsonMap
@tsed/schema
Usage
typescript
import { JsonMap } from "@tsed/schema";
Overview
ts
class JsonMap<T> extends Map<string, any> {
[key: string]: any;
$kind: string;
readonly $isJsonDocument = true;
constructor(obj?: Partial<T>);
assign(obj?: Partial<T> & any): this;
toJSON(options?: JsonSchemaOptions): any;
}
[key: string]
ts
[key: string]: any;
$kind
ts
$kind: string;
readonly $isJsonDocument
ts
readonly $isJsonDocument = true;
assign
ts
assign(obj?: Partial<T> & any): this;
toJSON
ts
toJSON(options?: JsonSchemaOptions): any;