Extracting Type from Schema.Class in Effect Typescript Library

How can I extract the type from a Schema.Class ? I tried just using the class itself, but that doesn't have the fields I expect (the output type) but instead it mentions the decoding functions being the values.
I tried this:
export interface InferredReminder extends Schema.Schema.Type<typeof Reminder> {}

But that does not work as expected either
Was this page helpful?