function __cfHardenFn(fn: Function) { Object.freeze(fn); const prototype = fn.prototype; if (prototype && typeof prototype === "object") { Object.freeze(prototype); } return fn; } import { __cfHelpers } from "commonfabric"; const define = undefined; const runtimeDeps = undefined; const __cfAmdHooks = undefined; // FIXTURE: computed-shadowed-local-no-rewrite // Verifies: shadowed local helpers named `computed` are not rewritten. function computed(fn: () => T): T { return fn(); } __cfHardenFn(computed); export default computed(() => 1); // @ts-ignore: Internals function h(...args: any[]) { return __cfHelpers.h.apply(null, args); } __cfHardenFn(h);