mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-03 14:36:02 +08:00
used generated files
This commit is contained in:
@@ -2,7 +2,7 @@ import { getProfile, OverwatchPlatform, OverwatchServerRegion, ProfileApiRespons
|
||||
|
||||
const platform: OverwatchPlatform = 'pc';
|
||||
const region: OverwatchServerRegion = 'us';
|
||||
const battleTag: string = 'sparK#12434';
|
||||
const battleTag = 'sparK#12434';
|
||||
|
||||
getProfile(platform, region, battleTag, (err: Error | null, data: ProfileApiResponse) => {
|
||||
if (err === null) {
|
||||
|
||||
@@ -1,13 +1,23 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es6",
|
||||
"module": "commonjs",
|
||||
"strict": true,
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node"
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"overwatch-api-tests.ts"
|
||||
]
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6",
|
||||
"dom"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"overwatch-api-tests.ts"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,17 +1 @@
|
||||
{
|
||||
"defaultSeverity": "error",
|
||||
"extends": [
|
||||
"tslint:recommended"
|
||||
],
|
||||
"jsRules": {},
|
||||
"rules": {
|
||||
"interface-name": false,
|
||||
"quotemark": [
|
||||
true,
|
||||
"single"
|
||||
],
|
||||
"no-console": false,
|
||||
"ordered-imports": false
|
||||
},
|
||||
"rulesDirectory": []
|
||||
}
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
|
||||
Reference in New Issue
Block a user