Retrieving Annotations from TypeScript Classes
What is the correct way to retrieve annotations from classes?
export class MyClass extends Schema.Class<MyClass>("MyClass")(
{
A: Schema.String,
},
{
identifier: "MyClass",
title: "my.Class",
}
) {}
// { _id: 'Option', _tag: 'None' }
console.log(AST.getTitleAnnotation(MyClass.ast));