diff --git a/src/listeners/client/commandDenied.ts b/src/listeners/client/commandDenied.ts index da4c3d6b..67e2080c 100644 --- a/src/listeners/client/commandDenied.ts +++ b/src/listeners/client/commandDenied.ts @@ -1,5 +1,5 @@ import {ApplyOptions} from "@sapphire/decorators"; -import {ChatInputCommandDeniedPayload, Listener, UserError} from "@sapphire/framework"; +import {type ChatInputCommandDeniedPayload, Listener, UserError} from "@sapphire/framework"; import {EmbedBuilder, Colors} from "discord.js"; import {resolveMaybeKey} from "../../utils"; diff --git a/src/listeners/client/ready.ts b/src/listeners/client/ready.ts index c97eb975..d423be77 100644 --- a/src/listeners/client/ready.ts +++ b/src/listeners/client/ready.ts @@ -1,6 +1,6 @@ import {ApplyOptions} from "@sapphire/decorators"; import {Listener, SapphireClient} from "@sapphire/framework"; -import {ActivityOptions, ActivityType} from "discord.js"; +import {type ActivityOptions, ActivityType} from "discord.js"; @ApplyOptions({ event: "ready" diff --git a/src/logger.ts b/src/logger.ts index b8450398..52ee4c4b 100644 --- a/src/logger.ts +++ b/src/logger.ts @@ -1,6 +1,6 @@ import {LogLevel, container as sapphireContainer} from "@sapphire/framework"; -import {Logger as SapphireLogger, LoggerOptions} from "@sapphire/plugin-logger"; -import {ColorResolvable, WebhookClient, Colors, EmbedBuilder} from "discord.js"; +import {Logger as SapphireLogger, type LoggerOptions} from "@sapphire/plugin-logger"; +import {type ColorResolvable, WebhookClient, Colors, EmbedBuilder} from "discord.js"; import {inspect} from "util"; export class WebhookLogFormat { diff --git a/tsconfig.json b/tsconfig.json index ff8b806b..a40efb0e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,6 @@ "skipLibCheck": true, "module": "ESNext", "target": "ESNext", - // Temporary fix - "verbatimModuleSyntax": false + "isolatedModules": true } }