[skip ci] Refactor utils

This commit is contained in:
Vendicated 2023-05-06 01:36:00 +02:00
parent 2834bed518
commit 0d5e2d0696
No known key found for this signature in database
GPG key ID: A1DC0CFB5615D905
110 changed files with 341 additions and 327 deletions

View file

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import { LazyComponent } from "@utils/misc";
import { LazyComponent } from "@utils/react";
// eslint-disable-next-line path-alias/no-relative
import { FilterFn, filters, waitFor } from "../webpack";

View file

@ -17,7 +17,7 @@
*/
import { WEBPACK_CHUNK } from "@utils/constants";
import Logger from "@utils/Logger";
import { Logger } from "@utils/Logger";
import { canonicalizeReplacement } from "@utils/patches";
import { PatchReplacement } from "@utils/types";

View file

@ -16,8 +16,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import Logger from "@utils/Logger";
import { proxyLazy } from "@utils/proxyLazy";
import { proxyLazy } from "@utils/lazy";
import { Logger } from "@utils/Logger";
import type { WebpackInstance } from "discord-types/other";
import { traceFunction } from "../debug/Tracer";