Add ts-strict-ignore plugin (#1235)

* Add ts-strict-ignore plugin

* nit

* Add to typecheck script
This commit is contained in:
Chenlei Hu
2024-10-12 11:56:49 -04:00
committed by GitHub
parent c23d95f8f9
commit 5611e90fda
82 changed files with 751 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import type { LiteGraph, LGraphCanvas } from '@comfyorg/litegraph'
/**

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import { APIConfig, mockApi, mockSettingStore, mockNodeDefStore } from './setup'
import { Ez, EzGraph, EzNameSpace } from './ezgraph'
import lg from './litegraph'

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import fs from 'fs'
import path from 'path'
import { nop } from '../utils/nopProxy'

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
export const nop = new Proxy(function () {}, {
get: () => nop,
set: () => true,

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import type { ComfySettingsDialog } from '@/scripts/ui/settings'
import type { ComfyApp } from '@/scripts/app'
import '../../src/scripts/api'