diff --git a/breeze/breeze.d.ts b/breeze/breeze.d.ts index e1572069fa..14721ecc07 100644 --- a/breeze/breeze.d.ts +++ b/breeze/breeze.d.ts @@ -586,7 +586,8 @@ declare module breeze { isEmpty(): bool; registerEntityTypeCtor(entityTypeName: string, entityCtor: Function, initializationFn?: (entity: Entity) =>void ): void; trackUnmappedType(entityCtor: Function, interceptor?: Function); - } + setEntityTypeForResourceName(resourceName: string, entityTypeOrName: string): void; + } interface MetadataStoreOptions { namingConvention?: NamingConvention; diff --git a/q/Q.d.ts b/q/Q.d.ts index fd81031fe1..15f3fdea72 100644 --- a/q/Q.d.ts +++ b/q/Q.d.ts @@ -36,13 +36,13 @@ interface Qpromise { } interface QStatic { - when(value: any, onFulfilled: Function, onRejected?: Function): Qpromise; + when(value: any, onFulfilled?: Function, onRejected?: Function): Qpromise; try(method: Function, ...args: any[]): Qpromise; fbind(method: Function, ...args: any[]): Qpromise; fcall(method: Function, ...args: any[]): Qpromise; all(promises: Qpromise[]): Qpromise; allResolved(promises: Qpromise[]): Qpromise; - resolve(object?:Qpromise); + resolve(object:any):Qpromise; spread(onFulfilled: Function, onRejected: Function): Qpromise; timeout(ms: number): Qpromise; delay(ms: number): Qpromise;