Add undefined guard

This commit is contained in:
Mohamed Hegazy
2018-05-17 11:45:34 -07:00
parent 6af5d8b940
commit 8dc9b76b6d
5 changed files with 99 additions and 8 deletions

View File

@@ -0,0 +1,13 @@
// @declaration: true
// @outFile: out.js
// @filename: /a/node_modules/@types/jquery/index.d.ts
interface JQuery {
}
// @filename: /a/app.ts
/// <reference types="jquery"/>
namespace Test {
export var x: JQuery;
}