Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: enable verbatimModuleSyntax #339

Merged
merged 11 commits into from
Jul 9, 2023
2 changes: 1 addition & 1 deletion src/listeners/client/commandDenied.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion src/listeners/client/ready.ts
Original file line number Diff line number Diff line change
@@ -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<Listener.Options>({
event: "ready"
Expand Down
4 changes: 2 additions & 2 deletions src/logger.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"skipLibCheck": true,
"module": "ESNext",
"target": "ESNext",
// Temporary fix
"verbatimModuleSyntax": false
"isolatedModules": true
}
}