diff --git a/package.json b/package.json index 9534aa5..69385c2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "focus-core", - "version": "0.16.0-beta3", + "version": "0.16.0-beta4", "description": "Focus library core part.", "main": "index.js", "babel": { diff --git a/src/router/index.d.ts b/src/router/index.d.ts index 31869e9..0038b00 100644 --- a/src/router/index.d.ts +++ b/src/router/index.d.ts @@ -8,5 +8,5 @@ declare let Router: { extend(config: T & RouterConfig): {new(): {}} }; -export = Backbone => typeof Router - +declare function createRouter(Backbone: {}): typeof Router; +export = createRouter;