We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f6f74d + 56cb07a commit e16326dCopy full SHA for e16326d
src/harness/unittests/session.ts
@@ -106,7 +106,7 @@ namespace ts.server {
106
describe("onMessage", () => {
107
it("should not throw when commands are executed with invalid arguments", () => {
108
let i = 0;
109
- for (name in CommandNames) {
+ for (const name in CommandNames) {
110
if (!Object.prototype.hasOwnProperty.call(CommandNames, name)) {
111
continue;
112
}
0 commit comments