Mapping Standard Types to Effect Schema Types in TypeScript

Is there some way to map a standard type to an effect schema type?

Like what would SomeGenericType be in this example?
type MyType = {
  key: string;
};

const mySchema = Schema.Struct<SomeGenericType<MyType>>({
  key: Schema.String,
});
Was this page helpful?