From 3f1e309283923c2f767e572f59af286c1244db55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E5=BF=86?= Date: Tue, 21 Nov 2023 07:46:56 +0800 Subject: [PATCH] chore: follow c6aadc1 7a19a7d --- src/Cat-a-lot-pagestyles/images/check-constructive.svg | 2 +- src/Clipboard/Clipboard.ts | 2 +- src/GeoLocationReader-pagestyles/images/helpNotice.svg | 2 +- src/GeoLocationReader-pagestyles/images/userAvatar.svg | 2 +- src/Report-pagestyles/images/report-button.svg | 2 +- src/ShortURL-pagestyles/images/link.svg | 2 +- src/Toastify/Toastify.ts | 2 +- src/index.d.ts | 5 ++--- 8 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/Cat-a-lot-pagestyles/images/check-constructive.svg b/src/Cat-a-lot-pagestyles/images/check-constructive.svg index 40bc1dcd4..4c9893054 100644 --- a/src/Cat-a-lot-pagestyles/images/check-constructive.svg +++ b/src/Cat-a-lot-pagestyles/images/check-constructive.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/Clipboard/Clipboard.ts b/src/Clipboard/Clipboard.ts index cb3ca33ce..3e4e76ce5 100644 --- a/src/Clipboard/Clipboard.ts +++ b/src/Clipboard/Clipboard.ts @@ -1,4 +1,4 @@ -import * as ClipboardJS from 'clipboard'; +import ClipboardJS from 'clipboard'; if (!window.ClipboardJS) { window.ClipboardJS = ClipboardJS; diff --git a/src/GeoLocationReader-pagestyles/images/helpNotice.svg b/src/GeoLocationReader-pagestyles/images/helpNotice.svg index c746169d3..1bb5a5ecd 100644 --- a/src/GeoLocationReader-pagestyles/images/helpNotice.svg +++ b/src/GeoLocationReader-pagestyles/images/helpNotice.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/GeoLocationReader-pagestyles/images/userAvatar.svg b/src/GeoLocationReader-pagestyles/images/userAvatar.svg index 50f1d91db..879763665 100644 --- a/src/GeoLocationReader-pagestyles/images/userAvatar.svg +++ b/src/GeoLocationReader-pagestyles/images/userAvatar.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/Report-pagestyles/images/report-button.svg b/src/Report-pagestyles/images/report-button.svg index 03f20bc03..5980d2f84 100644 --- a/src/Report-pagestyles/images/report-button.svg +++ b/src/Report-pagestyles/images/report-button.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/ShortURL-pagestyles/images/link.svg b/src/ShortURL-pagestyles/images/link.svg index 0fa89bbc6..2bf752d3a 100644 --- a/src/ShortURL-pagestyles/images/link.svg +++ b/src/ShortURL-pagestyles/images/link.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/Toastify/Toastify.ts b/src/Toastify/Toastify.ts index 0b1d32b10..3350d2d53 100644 --- a/src/Toastify/Toastify.ts +++ b/src/Toastify/Toastify.ts @@ -1,4 +1,4 @@ -import * as Toastify from 'toastify-js'; +import Toastify from 'toastify-js'; if (!window.toastify) { window.toastify = ( diff --git a/src/index.d.ts b/src/index.d.ts index 01928868f..c770435e9 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -1,4 +1,3 @@ -/* eslint-disable sort-imports */ import type { ApiClientLoginParams as _ApiClientLoginParams, ApiComparePagesParams as _ApiComparePagesParams, @@ -17,9 +16,9 @@ import type { import type {SettingGlobal as CatALotSetting} from './Cat-a-lot/modules/types'; // Cat-a-lot -import type * as _ClipboardJS from 'clipboard'; +import type _ClipboardJS from 'clipboard'; import type {Tippy as _Tippy} from 'tippy.js'; -import type * as _Toastify from 'toastify-js'; +import type _Toastify from 'toastify-js'; type I18nCandidatesKey = | 'en'