Home > @rushstack/node-core-library > TypeUuid > registerClass
TypeUuid.registerClass() method
Registers a JavaScript class as having a type identified by the specified UUID.
Signature:
static registerClass(targetClass: any, typeUuid: string): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| targetClass | any | |
| typeUuid | string |
Returns:
void