chore: verbatim module syntax

This commit is contained in:
Linnea Gräf 2025-04-12 12:16:26 +02:00
parent eb34d34210
commit bdec64a050
No known key found for this signature in database
GPG key ID: AA563E93EB628D91
3 changed files with 20 additions and 25 deletions

View file

@ -1,5 +1,5 @@
import { ApplicationCommandType, AutocompleteFocusedOption, AutocompleteInteraction, ChatInputCommandInteraction, ContextMenuCommandBuilder, ContextMenuCommandInteraction, Message, SharedSlashCommand, Snowflake, User } from "discord.js";
import { Config } from "./config";
import { ApplicationCommandType, type AutocompleteFocusedOption, AutocompleteInteraction, ChatInputCommandInteraction, ContextMenuCommandBuilder, ContextMenuCommandInteraction, Message, SharedSlashCommand, User } from "discord.js";
import { type Config } from "./config";
export abstract class ICommand { }

View file

@ -1,15 +1,9 @@
import {
ApplicationCommand,
ApplicationCommandType,
Client,
Events,
GatewayIntentBits,
InteractionCallback,
InteractionContextType,
REST,
RestOrArray,
Routes,
SlashCommandBooleanOption,
} from "discord.js";
import path from "node:path";
import fs from "node:fs";

View file

@ -1,20 +1,21 @@
{
"compilerOptions": {
"module": "ESNext",
"target": "ESNext",
"moduleResolution": "node",
"skipLibCheck": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"allowImportingTsExtensions": true,
"noEmit": true,
"forceConsistentCasingInFileNames": true,
"strict": true
},
"ts-node": {
"compilerOptions": {
"module": "ESNext"
}
},
"include": ["src/*"]
"module": "ESNext",
"target": "ESNext",
"moduleResolution": "node",
"skipLibCheck": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"allowImportingTsExtensions": true,
"noEmit": true,
"forceConsistentCasingInFileNames": true,
"verbatimModuleSyntax": true,
"strict": true
},
"ts-node": {
"compilerOptions": {
"module": "ESNext"
}
},
"include": ["src/*"]
}