vite/playground/js-sourcemap/with-define-object-ssr.ts

9 lines
180 B
TypeScript

export function error() {
errorInner()
}
function errorInner() {
// @ts-expect-error "define"
throw new Error('with-define-object: ' + JSON.stringify(__testDefineObject))
}