Skip to content

Conversation

@falkenhawk
Copy link
Contributor

ported from ovos#9

It fixes:

TS2345: Argument of type 'ModelClass<any>' is not assignable to parameter of type 'typeof Model'.

for cases like:

query.tableRefFor(query.modelClass());

it fixes:
Argument of type 'ModelClass<Foo>' is not assignable to parameter of type 'typeof Model'
@falkenhawk falkenhawk force-pushed the v3-mod-model-type-fix branch from 7eafc42 to 315535d Compare April 26, 2023 15:06
@lehni
Copy link
Collaborator

lehni commented May 19, 2023

LGTM, thanks!

@lehni lehni merged commit fed87de into Vincit:master May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants