Init commit.

This commit is contained in:
sleepwithoutbz
2025-10-02 22:58:32 +08:00
commit 4c71b3a711
169 changed files with 74075 additions and 0 deletions

18
@types/jsdom/index.d.ts vendored Normal file
View File

@@ -0,0 +1,18 @@
/// <reference path="base.d.ts"/>
// eslint-disable-next-line @definitelytyped/no-declare-current-package
declare module "jsdom" {
interface DOMWindow {
FinalizationRegistry: FinalizationRegistryConstructor;
WeakRef: WeakRefConstructor;
InputEvent: typeof InputEvent;
External: typeof External;
}
}
// Necessary to avoid breaking dependents because of the dependency
// on the `ESNext.WeakRef` lib:
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface FinalizationRegistryConstructor {}
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface WeakRefConstructor {}