From 7f99eaf10dd78cc36f71fd2a7ed63962d3519d44 Mon Sep 17 00:00:00 2001 From: KiraLT Date: Sun, 8 Jan 2023 22:22:46 +0200 Subject: [PATCH] fix: typing issues fix --- src/global.d.ts | 21 --------------------- src/services/index.ts | 3 --- 2 files changed, 24 deletions(-) delete mode 100644 src/global.d.ts delete mode 100644 src/services/index.ts diff --git a/src/global.d.ts b/src/global.d.ts deleted file mode 100644 index d9df6d6..0000000 --- a/src/global.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare module 'jssoup' { - export default class JSSoup { - constructor(html: string) - previousElement: JSSoup - nextElement: JSSoup - name?: string - _text?: string - text?: string - attrs?: Record - contents: JSSoup[] - } -} - -declare module 'jssoup-selector' { - import JSSoup from 'jssoup' - - export default class SoupSelector { - constructor(adapter: any) - select(selector: string, soup: JSSoup): JSSoup[] - } -} \ No newline at end of file diff --git a/src/services/index.ts b/src/services/index.ts deleted file mode 100644 index f0c62c8..0000000 --- a/src/services/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from './dom' -export * from './torrent' -export * from './requests' \ No newline at end of file