Skip to content

Commit

Permalink
Update model typing.
Browse files Browse the repository at this point in the history
  • Loading branch information
omegascorp committed Sep 3, 2017
1 parent 1f9622a commit f58e7b8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "owljs",
"version": "0.8.23",
"version": "0.8.24",
"description": "Backbone-like frontend library",
"main": "index.js",
"typings": "typescript/owl.d.ts",
Expand Down
7 changes: 6 additions & 1 deletion typescript/owl.Model.d.ts
Expand Up @@ -58,10 +58,15 @@ export class Model extends EventEmitter {
destroy(query?: Object): Promise<Object>;

/**
* Gets models data
* Gets model data
*/
getData(): Object;

/**
* Sets model data
*/
setData(Object): void;

/**
* Gets model collection
*/
Expand Down

0 comments on commit f58e7b8

Please sign in to comment.