mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
Fix menubar module for types-2.0 (#12397)
This commit is contained in:
committed by
Masahiro Wakame
parent
48ce8aa755
commit
a76622b9f9
4
menubar/menubar.d.ts → menubar/index.d.ts
vendored
4
menubar/menubar.d.ts → menubar/index.d.ts
vendored
@@ -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
|
||||
@@ -1,5 +1,3 @@
|
||||
/// <reference path="./menubar.d.ts" />
|
||||
|
||||
import * as menubar from "menubar";
|
||||
|
||||
var mb1 = menubar();
|
||||
|
||||
20
menubar/tsconfig.json
Normal file
20
menubar/tsconfig.json
Normal 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"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user