Skip to content

Commit 4abce1e

Browse files
authored
chore(vscode): remove ts-ignore (#4469)
1 parent 4b9b688 commit 4abce1e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

vscode/react/src/components/listbox/ListboxShow.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ export default function ListboxShow({
4747
/>
4848
</Listbox.Button>
4949
<Transition
50-
// @ts-ignore
5150
as={Fragment}
5251
leave="transition ease-in duration-100"
5352
leaveFrom="opacity-100"

vscode/react/src/utils/vscodeapi.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ interface VSCodeAPI {
2323
postMessage: (message: any) => void
2424
}
2525

26+
declare function acquireVsCodeApi(): VSCodeAPI
27+
2628
function getVSCodeAPI(): VSCodeAPI {
2729
if (!VSCODE_API) {
28-
// @ts-ignore
2930
VSCODE_API = acquireVsCodeApi()
3031
}
3132
if (!VSCODE_API) {

0 commit comments

Comments
 (0)