Skip to content

Commit

Permalink
fix(typings): Add missing generics to Schema in Model creation
Browse files Browse the repository at this point in the history
  • Loading branch information
sebelga committed Apr 11, 2018
1 parent d8c961d commit f3cc4b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ declare namespace GstoreNode {
* @param {string} entityKind The Google Entity Kind
* @returns {Model} A gstore Model
*/
model<T = {[propName: string]: any}>(entityKind: string, schema: Schema): Model<T>;
model<T = {[propName: string]: any}>(entityKind: string, schema: Schema<T>): Model<T>;

/**
* Create a DataLoader instance
Expand Down

0 comments on commit f3cc4b4

Please sign in to comment.