@tsed/schema
Version:
JsonSchema module for Ts.ED Framework
15 lines (14 loc) • 326 B
TypeScript
import { Type } from "@tsed/core";
import { JsonSchema } from "../domain/JsonSchema.js";
/**
* Create a new model from the given type.
*
* ```typescript
* from(String)
* ```
*
* * See @@JsonSchema@@ to discover available methods.
*
* @schemaFunctional
*/
export declare function from(type?: Type<any>): JsonSchema;