Skip to content

Commit

Permalink
chore: CI typecheck errors
Browse files Browse the repository at this point in the history
  • Loading branch information
typeholes committed Jun 3, 2024
1 parent 75471b5 commit 076cf13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/webview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ export function setPanelContext(extensionContext: vscode.ExtensionContext) {
// eslint-disable-next-line node/prefer-global/process
const isDev2 = process.env.TRACER_DEV
if (isDev || isDev2) {
// eslint-disable-next-line ts/prefer-ts-expect-error
// @ts-ignore types may not be generated
import('../srcDev/dist/server/server').then((server) => {
devEmitter = server.emitMessage
server.setMessageHandler(message => handleMessage(getTracePanel(), message))
server.setMessageHandler((message: any) => handleMessage(getTracePanel(), message))
})
}
}
Expand Down

0 comments on commit 076cf13

Please sign in to comment.