Change module version to ES2020

This commit is contained in:
Federico fuji97 Rapetti 2021-12-26 19:44:17 +01:00
parent 7298ae1562
commit 995c0360fe
2 changed files with 2 additions and 8 deletions

View file

@ -1,10 +1,4 @@
import {
Guild,
TextChannel,
Message,
MessageReaction,
User,
ApplicationCommandData,
import {Guild, TextChannel, Message, MessageReaction, User, ApplicationCommandData,
} from 'discord.js';
import emoji from 'node-emoji';
import pEvent from 'p-event';

View file

@ -2,7 +2,7 @@
"compilerOptions": {
"lib": ["ES2019", "DOM"],
"target": "es2018",
"module": "es2022",
"module": "ES2020",
"moduleResolution": "node",
"declaration": true,
"outDir": "dist",