Something went wrong. Try again.
A native-speed rewrite of the roblox-ts compiler in golang
Something went wrong. Try again.
1234567891011121314151617/** * Asserts the truthiness of `value`, stops the debugger on failure. * @param value The value to check the truthiness of * @param message Optional. The message of the error */export function assert(value: unknown, message?: string): asserts value { /* istanbul ignore if */ if (!value) { debugger; throw new Error( `Assertion Failed! ${message ?? ""}` + "\nThis is a bug! Please submit a bug report here:" + "\nhttps://github.com/roblox-ts/path-translator/issues", ); }}