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

Cleanup mislabeled modules

parent 85c36d394788
......@@ -30,7 +30,7 @@ import {
tryNegotiateData,
MimeInfo
} from "../common/api";
/// <reference path="./fallback.d.ts"/>
/// <reference path="./register.d.ts"/>
let F = require("./register");
import "chrome";
......
......@@ -18,7 +18,16 @@
* with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
******************************************************************************/
/**
* Externalise some regitration to JS because the typescript version is faulty
*/
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(
onBeforeNavigate: 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