Skip to content

Commit 31e406f

Browse files
authored
Merge pull request #4443 from github/mbg/vscode-1.128.0
Fix CI failures
2 parents ba2bbb0 + 1929b82 commit 31e406f

5 files changed

Lines changed: 13 additions & 11 deletions

File tree

extensions/ql-vscode/src/common/mock-gh-api/mock-gh-api-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { join, resolve } from "path";
22
import { pathExists } from "fs-extra";
33
import type { SetupServer } from "msw/node";
44
import { setupServer } from "msw/node";
5-
import type { UnhandledRequestStrategy } from "msw/lib/core/utils/request/onUnhandledRequest";
5+
import type { UnhandledRequestStrategy } from "msw";
66

77
import { DisposableObject } from "../disposable-object";
88

extensions/ql-vscode/src/common/octokit.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ export const AppOctokit = Octokit.defaults({
99
fetch: (input: string | URL | Request, init?: RequestInit) =>
1010
fetch(input, init),
1111
},
12-
retry,
13-
});
12+
}).plugin(retry);
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
export {
1+
export type {
22
DatabaseContents,
33
DatabaseContentsWithDbScheme,
4-
DatabaseKind,
54
} from "./database-contents";
6-
export { DatabaseChangedEvent, DatabaseEventKind } from "./database-events";
7-
export { DatabaseItem, SourceArchiveFile } from "./database-item";
5+
export { DatabaseKind } from "./database-contents";
6+
export type { DatabaseChangedEvent } from "./database-events";
7+
export { DatabaseEventKind } from "./database-events";
8+
export type { DatabaseItem, SourceArchiveFile } from "./database-item";
89
export { DatabaseItemImpl } from "./database-item-impl";
910
export { DatabaseManager } from "./database-manager";
1011
export { DatabaseResolver } from "./database-resolver";
11-
export { DatabaseOptions, FullDatabaseOptions } from "./database-options";
12+
export type { DatabaseOptions, FullDatabaseOptions } from "./database-options";

extensions/ql-vscode/test/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
"compilerOptions": {
66
"noEmit": true,
77
"resolveJsonModule": true,
8-
"rootDir": ".."
8+
"rootDir": "..",
9+
"types": ["jest"],
10+
"isolatedModules": true
911
}
1012
}

extensions/ql-vscode/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"compilerOptions": {
44
"declaration": true,
55
"strict": true,
6-
"module": "commonjs",
6+
"module": "nodenext",
77
"target": "es2021",
88
"outDir": "out",
99
"lib": ["ES2021"],
10-
"moduleResolution": "node",
10+
"moduleResolution": "nodenext",
1111
"sourceMap": true,
1212
"rootDir": "src",
1313
"skipLibCheck": true,

0 commit comments

Comments
 (0)