I have a load of models that have some meta data appended, so I created a generic type to append them to the models when they're present:
type WithMeta<T> = T extends Meta;
Although this produces the following error: Parsing error: '?' expected.
ESLint isn't telling me which rule is triggering this, so hoping someone here knows the answer? Thanks