fix: make type definitions in Schema.ts more precise
ESchemas now accepts the entity types as generic type parameter. SchemaEntityTypes is now the subset of "entities" property's keys which are strings. This is necessary because when the keyword "keyof" is used on a generic type it returns an union of strings, numbers and symbols. We only want to keep strings.
parent
9ca18cea9d79
No related branches found
No related tags found
Please register or sign in to comment