mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-04 21:22:07 +00:00
fix: remove useless @ts-ignore and migrate to @ts-expect-error (#293)
* fix: vite primevue/treenode import error * refactor: remove useless @ts-ignore and replace with @ts-expect-error * build(tsconfig): enable incremental to speed up secondary time type check
This commit is contained in:
@@ -93,7 +93,6 @@ describe('widget inputs', () => {
|
||||
const input = w.getConvertedInput()
|
||||
expect(input).toBeTruthy()
|
||||
|
||||
// @ts-ignore : input is valid here
|
||||
await connectPrimitiveAndReload(
|
||||
ez,
|
||||
graph,
|
||||
@@ -234,11 +233,11 @@ describe('widget inputs', () => {
|
||||
})
|
||||
|
||||
expect(dialogShow).toBeCalledTimes(1)
|
||||
// @ts-ignore
|
||||
// @ts-expect-error
|
||||
expect(dialogShow.mock.calls[0][0].innerHTML).toContain(
|
||||
'the following node types were not found'
|
||||
)
|
||||
// @ts-ignore
|
||||
// @ts-expect-error
|
||||
expect(dialogShow.mock.calls[0][0].innerHTML).toContain('TestNode')
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user