chore: verbatim module syntax
This commit is contained in:
parent
eb34d34210
commit
bdec64a050
3 changed files with 20 additions and 25 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
import { ApplicationCommandType, AutocompleteFocusedOption, AutocompleteInteraction, ChatInputCommandInteraction, ContextMenuCommandBuilder, ContextMenuCommandInteraction, Message, SharedSlashCommand, Snowflake, User } from "discord.js";
|
import { ApplicationCommandType, type AutocompleteFocusedOption, AutocompleteInteraction, ChatInputCommandInteraction, ContextMenuCommandBuilder, ContextMenuCommandInteraction, Message, SharedSlashCommand, User } from "discord.js";
|
||||||
import { Config } from "./config";
|
import { type Config } from "./config";
|
||||||
|
|
||||||
export abstract class ICommand { }
|
export abstract class ICommand { }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,9 @@
|
||||||
import {
|
import {
|
||||||
ApplicationCommand,
|
|
||||||
ApplicationCommandType,
|
ApplicationCommandType,
|
||||||
Client,
|
Client,
|
||||||
Events,
|
Events,
|
||||||
GatewayIntentBits,
|
|
||||||
InteractionCallback,
|
|
||||||
InteractionContextType,
|
InteractionContextType,
|
||||||
REST,
|
REST,
|
||||||
RestOrArray,
|
|
||||||
Routes,
|
|
||||||
SlashCommandBooleanOption,
|
|
||||||
} from "discord.js";
|
} from "discord.js";
|
||||||
import path from "node:path";
|
import path from "node:path";
|
||||||
import fs from "node:fs";
|
import fs from "node:fs";
|
||||||
|
|
|
||||||
|
|
@ -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": {
|
"compilerOptions": {
|
||||||
"module": "ESNext"
|
"module": "ESNext",
|
||||||
}
|
"target": "ESNext",
|
||||||
},
|
"moduleResolution": "node",
|
||||||
"include": ["src/*"]
|
"skipLibCheck": true,
|
||||||
|
"resolveJsonModule": true,
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"allowImportingTsExtensions": true,
|
||||||
|
"noEmit": true,
|
||||||
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
"verbatimModuleSyntax": true,
|
||||||
|
"strict": true
|
||||||
|
},
|
||||||
|
"ts-node": {
|
||||||
|
"compilerOptions": {
|
||||||
|
"module": "ESNext"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"include": ["src/*"]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue