Open mebibou opened 4 years ago
When trying to create a record like this:
const Player = await db.class.get('Player'); const record = await Player.create({ name: 'new player' });
typescript will fail with an error because the expected param for create is a ORecord although it should just be an Object
create
Object
Hi @mebibou Thanks to inform , i will try to patch it asap.
I just push a new definition that embedded to orientjs package and resolve some typings problems. implemented issues in #438 , #439 @mebibou
When trying to create a record like this:
typescript will fail with an error because the expected param for
create
is a ORecord although it should just be anObject