altv-js-module
altv-js-module copied to clipboard
Assert API broken
Description of the problem
Importing a json file with the assert api crashes the game.
Reproduction steps
Create a json file and import it clientside by using import * as test from './file.json' assert { type: 'json' }
Expected behaviour
Game doesn't crash and the json is imported correctly.
Additional context
No response
Operating system
Windows 10
Version
release latest
Scope
client
Test on dev before opening an issue
Just tested on latest dev, same issue
Confirmed on 13.0-dev65
At the same time alt.File.read
still works