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 { ComfyDialog } from '../dialog'
import { $el } from '../../ui'

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import { $el } from '../../ui'
import { applyClasses, ClassList, toggleElement } from '../utils'
import { prop } from '../../utils'

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import { $el } from '../../ui'
import { ComfyButton } from './button'
import { prop } from '../../utils'

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import { prop } from '../../utils'
import { $el } from '../../ui'
import { applyClasses, ClassList } from '../utils'

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import { useDialogStore } from '@/stores/dialogStore'
import { $el } from '../ui'

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
/*
Original implementation:
https://github.com/TahaSh/drag-to-reorder

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import { app } from '../app'
import { $el } from '../ui'

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import { $el } from '../ui'
import { api } from '../api'
import { ComfyDialog } from './dialog'

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import { $el } from '../ui'
/**

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import { api } from '../api'
import { $el } from '../ui'
import { createSpinner } from './spinner'

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
export type ClassList = string | string[] | Record<string, boolean>
export function applyClasses(