sebelga / gstore-node

Google Datastore Entities Modeling for Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeScript: ref doesn't exist in ScemaPathDefinition

Balgy opened this issue · comments

commented

I 've been trying to use the library with typescript but using the 'ref' attribute in a schema definition where the type is of type Schema.Types.Key gives me a compiler error.

I checked the 'index.d.ts' file and indeed there is no ref attribute defined in the 'SchemaPathDefinition' interface. Am I doing something wrong here?

Hello,
Thanks for reporting! This is indeed a bug, I will add it
Cheers