From 4426294361ad14ce1117531691b9ca52f150bbbe Mon Sep 17 00:00:00 2001 From: flyfishMT Date: Wed, 23 Dec 2015 14:18:24 -0700 Subject: [PATCH 1/2] Adding method acceptChanges to class EntityManager --- breeze/breeze.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/breeze/breeze.d.ts b/breeze/breeze.d.ts index 2a60df6d8..f13e1b55f 100644 --- a/breeze/breeze.d.ts +++ b/breeze/breeze.d.ts @@ -392,6 +392,7 @@ declare module breeze { constructor(config?: EntityManagerOptions); constructor(config?: string); + acceptChanges(); addEntity(entity: Entity): Entity; attachEntity(entity: Entity, entityState?: EntityStateSymbol, mergeStrategy?: MergeStrategySymbol): Entity; clear(): void; From 3209e89f21bd9fef15bd274885c8f7c186c31807 Mon Sep 17 00:00:00 2001 From: flyfishMT Date: Wed, 23 Dec 2015 14:24:08 -0700 Subject: [PATCH 2/2] Adding void return type annotation to method acceptChanges in class EntityManager --- breeze/breeze.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/breeze/breeze.d.ts b/breeze/breeze.d.ts index f13e1b55f..1cc587c2f 100644 --- a/breeze/breeze.d.ts +++ b/breeze/breeze.d.ts @@ -392,7 +392,7 @@ declare module breeze { constructor(config?: EntityManagerOptions); constructor(config?: string); - acceptChanges(); + acceptChanges(): void; addEntity(entity: Entity): Entity; attachEntity(entity: Entity, entityState?: EntityStateSymbol, mergeStrategy?: MergeStrategySymbol): Entity; clear(): void;