Fix menubar module for types-2.0 (#12397)

This commit is contained in:
Linda_pp
2016-11-01 22:57:14 +09:00
committed by Masahiro Wakame
parent 48ce8aa755
commit a76622b9f9
3 changed files with 22 additions and 4 deletions

View File

@@ -3,8 +3,8 @@
// Definitions by: rhysd <https://rhysd.github.io>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../github-electron/github-electron.d.ts" />
/// <reference path="../node/node.d.ts" />
/// <reference types="electron" />
/// <reference types="node" />
declare namespace Menubar {
type Position

View File

@@ -1,5 +1,3 @@
/// <reference path="./menubar.d.ts" />
import * as menubar from "menubar";
var mb1 = menubar();

20
menubar/tsconfig.json Normal file
View File

@@ -0,0 +1,20 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"noImplicitAny": true,
"strictNullChecks": false,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"menubar-tests.ts"
]
}