mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 00:10:58 -05:00
Begone import assertion
This commit is contained in:
parent
5a6c5a4a9c
commit
7241834dab
@ -12,7 +12,8 @@ import MPServer from './models/MPServer.js';
|
|||||||
import xjs from 'xml-js';
|
import xjs from 'xml-js';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import tokens from './tokens.json' assert {type: 'json'};
|
const tokens = JSON.parse(readFileSync('src/tokens.json', {encoding:'utf8'}));
|
||||||
|
// Import assertion warning workaround yes
|
||||||
|
|
||||||
let importconfig:Config
|
let importconfig:Config
|
||||||
try{
|
try{
|
||||||
|
Loading…
Reference in New Issue
Block a user