Skip to content

Commit

Permalink
Added TypeScript support for breeze.getEntityGraph and breeze.saveque…
Browse files Browse the repository at this point in the history
…uing.
  • Loading branch information
marcelgood committed Jul 27, 2016
1 parent 74db539 commit ea54a74
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions breeze.getEntityGraph.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { EntityManager } from '../breeze-client';

declare module '../breeze-client' {
interface EntityManager {
getEntityGraph(roots: Entity | Array<Entity>, expand: string): Array<Entity>;
}
}
7 changes: 7 additions & 0 deletions breeze.savequeuing.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { EntityManager } from '../breeze-client';

declare module '../breeze-client' {
interface EntityManager {
enableSaveQueuing(enable?: boolean);
}
}

0 comments on commit ea54a74

Please sign in to comment.