adam-cowley / neode

Neo4j OGM for Node.js
MIT License
394 stars 72 forks source link

Argument of type 'string' is not assignable to parameter of type 'Model<unknown>' #178

Open ali-habibzadeh opened 1 year ago

ali-habibzadeh commented 1 year ago

This example from the docs:

builder.match("p", "Person").where("p.name", "Adam").return("p");

Errors as "Person" is not a model: Argument of type 'string' is not assignable to parameter of type 'Model'

Screenshot 2023-08-27 at 09 59 54