Home > @gglib/utils > TypeToken > (constructor)

TypeToken.(constructor)

Constructs a new instance of the TypeToken class

Signature:

constructor(name: string, options?: {
        factory: () => T;
    });

Parameters

Parameter Type Description
name string
options { factory: () => T; }