export class CustomList extends S.Array(
S.String,
) {};
// <~ CustomList does not get inferred like it would be a S.Class
const fn = (customList: CustomList) => {
// customList.map() // <~ .map is not defined on customList
// Need to change param to `typeof customList.Type`
}
export class CustomList extends S.Array(
S.String,
) {};
// <~ CustomList does not get inferred like it would be a S.Class
const fn = (customList: CustomList) => {
// customList.map() // <~ .map is not defined on customList
// Need to change param to `typeof customList.Type`
}