Skip to content

Commit

Permalink
Update index.d.ts (#146)
Browse files Browse the repository at this point in the history
add type Promise for return func create
  • Loading branch information
CodingByJerez authored Mar 23, 2021
1 parent 8bc691a commit 6a8d0ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ declare class Neode {
* @param {Object} properties
* @return {Node}
*/
create<T>(model: string, properties: object): Neode.Node<T>;
create<T>(model: string, properties: object): Promise<Neode.Node<T>>;

/**
* Merge a node based on the defined indexes
Expand Down

0 comments on commit 6a8d0ff

Please sign in to comment.