Fix TS2737 on SDVX plugin

TS2737: BigInt literals are not available when targeting lower than ES2020.
This commit is contained in:
DitFranXX 2021-04-28 13:27:58 +09:00 committed by GitHub
parent 5797c2ca97
commit 55008b575c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ export function register() {
MultiRoute('entry_e', true);
MultiRoute('exception', true);
R.Route('eventlog.write', (_, __, send) => send.object({
gamesession: K.ITEM('s64', 1n),
gamesession: K.ITEM('s64', BigInt(1)),
logsendflg: K.ITEM('s32', 0),
logerrlevel: K.ITEM('s32', 0),
evtidnosendflg: K.ITEM('s32', 0)