From 1f39716f0e340fe6093b9d945935b13a6cdc1381 Mon Sep 17 00:00:00 2001 From: Damien FRIKHA Date: Fri, 17 Jun 2016 14:33:25 +0200 Subject: [PATCH 1/2] Fix router typings --- src/router/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; From 048232ddad8a480e8911bc69934958a2a92fa11d Mon Sep 17 00:00:00 2001 From: Damien Frikha Date: Fri, 17 Jun 2016 14:35:23 +0200 Subject: [PATCH 2/2] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": {