swc/packages/helpers/esm/_write_only_error.js

5 lines
138 B
JavaScript

export function _write_only_error(name) {
throw new TypeError("\"" + name + "\" is write-only");
}
export { _write_only_error as _ };