mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge branch 'master' into rename-repo-url
This commit is contained in:
Vendored
+3
-3
@@ -6,7 +6,7 @@
|
||||
/// <reference path="../backbone/backbone.d.ts" />
|
||||
/// <reference path="../knockout/knockout.d.ts" />
|
||||
|
||||
declare module Knockback {
|
||||
declare namespace Knockback {
|
||||
interface EventWatcherOptions {
|
||||
emitter: (newEmitter) => void;
|
||||
update: (newValue) => void;
|
||||
@@ -38,7 +38,7 @@ declare module Knockback {
|
||||
|
||||
class EventWatcher extends Destroyable {
|
||||
static useOptionsOrCreate(options, emitter: KnockoutObservable<any>, obj: Backbone.Model, callback_options: any);
|
||||
|
||||
|
||||
emitter(): Backbone.Model;
|
||||
emitter(newEmitter: Backbone.Model);
|
||||
registerCallbacks(obj: any, callback_info: any);
|
||||
@@ -58,7 +58,7 @@ declare module Knockback {
|
||||
|
||||
class Store extends Destroyable {
|
||||
static useOptionsOrCreate(options: StoreOptions, obj: any, observable: KnockoutObservable<any>);
|
||||
|
||||
|
||||
constructor (model:Backbone.Model, options: StoreOptions);
|
||||
clear();
|
||||
register(obj: Backbone.Model, observable: KnockoutObservable<any>, options: StoreOptions);
|
||||
|
||||
Reference in New Issue
Block a user