Skip to content

Commit 7e289d9

Browse files
committed
fix: migrate tsconfig to TS6 (maybe next time also run npm i when updating dependencies xd)
1 parent 7c0b947 commit 7e289d9

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/kanban-view.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const KANBAN_VIEW_TYPE = "github-kanban-view";
77

88
export class GitHubKanbanView extends ItemView {
99
private settings: IssueTrackerSettings;
10-
private refreshInterval: NodeJS.Timeout | null = null;
10+
private refreshInterval: ReturnType<typeof setInterval> | null = null;
1111
private projectDataCache: Map<string, any[]> = new Map();
1212
private activeProjectId: string | null = null;
1313
private loadedProjects: Set<string> = new Set(); // Track which projects have been loaded
@@ -139,7 +139,7 @@ export class GitHubKanbanView extends ItemView {
139139
// Update tab styles
140140
tabBar
141141
.querySelectorAll(".github-kanban-tab")
142-
.forEach((t: HTMLElement) => {
142+
.forEach((t: Element) => {
143143
t.removeClass("active");
144144
});
145145
tab.addClass("active");

tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
22
"compilerOptions": {
3-
"baseUrl": ".",
43
"inlineSourceMap": true,
54
"inlineSources": true,
65
"module": "ESNext",
76
"target": "ES6",
87
"allowJs": true,
98
"noImplicitAny": true,
10-
"moduleResolution": "node",
9+
"moduleResolution": "bundler",
1110
"importHelpers": true,
1211
"isolatedModules": true,
1312
"strictNullChecks": true,

0 commit comments

Comments
 (0)