Home > @gglib/utils > TypeToken

TypeToken class

A token identifying a type

Signature:

export declare class TypeToken<T = unknown> 

Constructors

Constructor Modifiers Description
(constructor)(name, options) Constructs a new instance of the TypeToken class

Properties

Property Modifiers Type Description
factory? () => T (Optional)
name string

Methods

Method Modifiers Description
toString()