typia
Version:
Superfast runtime validators with only one line
34 lines (33 loc) • 1.34 kB
text/typescript
import { IMetadataApplication } from "./schemas/metadata/IMetadataApplication";
/**
* > You must configure the generic argument `Types`.
*
* Metadata Application.
*
* Creates a Metadata application which contains the metadata and components.
*
* Note that, all of the collection types like Array, Tuple and Objects are
* stored in the {@link IMetadataApplication.components} property. Also, alias
* types are stored in the {@link IMetadataApplication.aliases} property, too.
*
* @author Jeongho Nam - https://github.com/samchon
* @template Types Tuple of target types
* @returns Metadata application
*/
export declare function metadata(): never;
/**
* Metadata Application.
*
* Creates a Metadata application which contains the metadata and components.
*
* Note that, all of the collection types like Array, Tuple and Objects are
* stored in the {@link IMetadataApplication.components} property. Also, alias
* types are stored in the {@link IMetadataApplication.aliases} property, too.
*
* @author Jeongho Nam - https://github.com/samchon
* @template Types Tuple of target types
* @returns Metadata application
*/
export declare function metadata<Types extends unknown[]>(): IMetadataApplication;
export declare function name<T, Regular extends boolean = false>(): string;
export declare function name(): never;