UNPKG

@kephas/reflection

Version:

Provides reflection capabilities, like TypeInfoRegistry, ITypeInfo, and IProperty.

72 lines (71 loc) 1.53 kB
/** * Provides a list of well known type names. * * @export * @class TypeName */ export declare class TypeName { /** * The name of the 'any' type. * * @static * @memberof TypeName */ static readonly AnyTypeName = "any"; /** * The name of the 'boolean' type. * * @static * @memberof TypeName */ static readonly BooleanTypeName = "boolean"; /** * The name of the 'number' type. * * @static * @memberof TypeName */ static readonly NumberTypeName = "number"; /** * The name of the 'string' type. * * @static * @memberof TypeName */ static readonly StringTypeName = "string"; /** * The name of the 'array' type. * * @static * @memberof TypeName */ static readonly ArrayTypeName = "array"; /** * The name of the 'any[]' type. * * @static * @memberof TypeName */ static readonly ArrayOfAnyTypeName = "any[]"; /** * The name of the 'Uint8Array' type. * * @static * @memberof TypeName */ static readonly ArrayOfByteTypeName = "Uint8Array"; /** * The name of the 'symbol' type. * * @static * @memberof TypeName */ static readonly SymbolTypeName = "symbol"; /** * The name of the 'Date' type. * * @static * @memberof TypeName */ static readonly DateTypeName = "Date"; }