Add ts-strict-ignore plugin (#443)

* Add ts-strict-ignore plugin

* nit
This commit is contained in:
Chenlei Hu
2025-02-03 12:49:58 -08:00
committed by GitHub
parent 0ee671843b
commit 4844311f3b
17 changed files with 755 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import type { CanvasPointerEvent } from "./types/events"
import type { LGraphCanvas } from "./LGraphCanvas"
import { dist2 } from "./measure"

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import type { IContextMenuOptions, IContextMenuValue } from "./interfaces"
import { LiteGraph } from "./litegraph"

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import type { Point, Rect } from "./interfaces"
import { clamp, LGraphCanvas } from "./litegraph"
import { distance } from "./measure"

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import type { Point, Rect, Rect32 } from "./interfaces"
import type { CanvasMouseEvent } from "./types/events"
import { LiteGraph } from "./litegraph"

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import type {
Dictionary,
IContextMenuValue,

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import type {
CanvasColour,
Dictionary,

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import type {
IContextMenuValue,
IPinnable,

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import type {
Dictionary,
IContextMenuValue,

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import type {
CanvasColour,
LinkNetwork,

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import { LGraph } from "./LGraph"
import { LLink } from "./LLink"
import { LGraphGroup } from "./LGraphGroup"

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import type {
CanvasColour,
LinkSegment,

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
import type {
Point,
Positionable,

View File

@@ -1,3 +1,4 @@
// @ts-strict-ignore
// API *************************************************
// like rect but rounded corners
export function loadPolyfills() {