Commit 946a3465 authored by Laurent Wouters's avatar Laurent Wouters
Browse files

Cleanup mislabeled modules

parent 85c36d394788
...@@ -30,7 +30,7 @@ import { ...@@ -30,7 +30,7 @@ import {
tryNegotiateData, tryNegotiateData,
MimeInfo MimeInfo
} from "../common/api"; } from "../common/api";
/// <reference path="./fallback.d.ts"/> /// <reference path="./register.d.ts"/>
let F = require("./register"); let F = require("./register");
import "chrome"; import "chrome";
......
...@@ -18,7 +18,16 @@ ...@@ -18,7 +18,16 @@
* with CubicWeb. If not, see <http://www.gnu.org/licenses/>. * with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
******************************************************************************/ ******************************************************************************/
/**
* Externalise some regitration to JS because the typescript version is faulty
*/
declare module "register" { declare module "register" {
/**
* Registers some navigation events
* @param onBeforeNavigate Event after tab navigation occurred
* @param onCompleted Event before a tab navigation occur
*/
export function registerNavigations( export function registerNavigations(
onBeforeNavigate: any, onBeforeNavigate: any,
onCompleted: any onCompleted: any
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment