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 { import {Guild, TextChannel, Message, MessageReaction, User, ApplicationCommandData,
Guild,
TextChannel,
Message,
MessageReaction,
User,
ApplicationCommandData,
} from 'discord.js'; } from 'discord.js';
import emoji from 'node-emoji'; import emoji from 'node-emoji';
import pEvent from 'p-event'; import pEvent from 'p-event';

View file

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