kreteshq / kretes

A Programming Environment for TypeScript & Deno
https://kretes.dev/
Other
675 stars 35 forks source link

Property 'returning' does not exist on type SQW #109

Closed daksamit closed 3 years ago

daksamit commented 4 years ago

Kretes: 0.71 OS: Ubuntu 20.04 LTS

According to documentation example with returning function underlines eslint rule: "Property 'returning' does not exist on type SQW" image

It seems to be related to #108

zaiste commented 4 years ago

@daksamit Just to confirm, is the query executing correctly ? Sometimes I've seen errors in VS Code, with code running OK. Is the VS Code correctly picking up TypeScript 4.x ?

daksamit commented 4 years ago

No, unfortunately, I have the same problem as described here #108

zaiste commented 3 years ago

@daksamit I've updated the docs for that part. The previous version of docs assumed that the database tables are created by the user. widgets was just a placeholder to show the general idea. I've improved that. Let me know if it solves that.