Skip to content

Commit 0424628

Browse files
committed
minor changes
1 parent 9775350 commit 0424628

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"displayName": "LeetCode-fork",
44
"description": "Solve LeetCode problems in VS Code",
55
"version": "0.18.5",
6-
"author": "LeetCode-su-mt",
7-
"publisher": "LeetCode-su-mt",
6+
"author": "su-mt",
7+
"publisher": "su-mt",
88
"license": "MIT",
99
"icon": "resources/LeetCode.png",
1010
"engines": {

src/leetCodeExecutor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import * as cp from "child_process";
55
import * as fse from "fs-extra";
66
import * as os from "os";
77
import * as path from "path";
8-
import * as requireFromString from "require-from-string";
8+
import requireFromString = require("require-from-string");
99
import { ExtensionContext } from "vscode";
1010
import { ConfigurationChangeEvent, Disposable, MessageItem, window, workspace, WorkspaceConfiguration } from "vscode";
1111
import { Endpoint, IProblem, leetcodeHasInited, supportedPlugins } from "./shared";
@@ -262,7 +262,7 @@ class LeetCodeExecutor implements Disposable {
262262
}
263263
}
264264

265-
public async getDailyChallengeHistory(needTranslation?: boolean, days: number = 30): Promise<any[]> {
265+
public async getDailyChallengeHistory(_needTranslation?: boolean, days: number = 30): Promise<any[]> {
266266
try {
267267
const https = require('https');
268268

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"noImplicitReturns": true,
1616
"strictNullChecks": true,
1717
"noUnusedParameters": true,
18-
"alwaysStrict": true
18+
"alwaysStrict": true,
19+
"skipLibCheck": true
1920
},
2021
"exclude": [
2122
"node_modules",

0 commit comments

Comments
 (0)