mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Update tests to use require()
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
///<reference path="../node/node.d.ts"/>
|
||||
///<reference path="node-webkit.d.ts"/>
|
||||
|
||||
// Load native UI library
|
||||
var gui: typeof nw.gui;
|
||||
// See docs: https://github.com/rogerwang/node-webkit/wiki/Shell
|
||||
import gui = require("nw.gui");
|
||||
|
||||
|
||||
/* WINDOW */
|
||||
|
||||
Reference in New Issue
Block a user