Expose extracted type names in PortableRegistry

This commit is contained in:
Jaco
2021-10-21 07:33:10 +03:00
parent e47b8c1e73
commit 0d5a841a81
2 changed files with 9 additions and 0 deletions
@@ -252,6 +252,10 @@ export class GenericPortableRegistry extends Struct {
this.#types = extractTypeMap(this.types);
}
public get names (): string[] {
return Object.values(this.#names);
}
/**
* @description The types of the registry
*/