mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
Upgrade master-only packages to types-2.0
This commit is contained in:
3
plugapi/plugapi.d.ts → plugapi/index.d.ts
vendored
3
plugapi/plugapi.d.ts → plugapi/index.d.ts
vendored
@@ -2,7 +2,6 @@
|
||||
// Project: https://www.npmjs.com/package/plugapi
|
||||
// Definitions by: Brice Theurillat <https://github.com/BNedry/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare module "plugapi" {
|
||||
interface PlugLogin {
|
||||
email: string;
|
||||
@@ -417,4 +416,4 @@ declare module "plugapi" {
|
||||
|
||||
var PlugAPI: PlugAPIStatic;
|
||||
export = PlugAPI;
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,3 @@
|
||||
/// <reference path="./plugapi.d.ts" />
|
||||
|
||||
import * as PlugAPI from "plugapi";
|
||||
|
||||
new PlugAPI({
|
||||
@@ -32,4 +30,4 @@ new PlugAPI({
|
||||
} else {
|
||||
console.log("Error initializing plugAPI: " + err);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
19
plugapi/tsconfig.json
Normal file
19
plugapi/tsconfig.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"noImplicitAny": true,
|
||||
"strictNullChecks": false,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"plugapi-tests.ts"
|
||||
]
|
||||
}
|
||||
1
plugapi/tslint.json
Normal file
1
plugapi/tslint.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
Reference in New Issue
Block a user