PisModule
Bun

property

inspector.Debugger.ScriptFailedToParseEventDataType.isModule

isModule?: boolean

True, if this script is ES6 module.