@fedify/fedify
Version:
An ActivityPub server framework
14 lines (11 loc) • 343 B
JavaScript
import { Temporal } from "@js-temporal/polyfill";
import { URLPattern } from "urlpattern-polyfill";
globalThis.addEventListener = () => {};
//#region vocab/type.ts
function getTypeId(object) {
if (object == null) return object;
const cls = object.constructor;
return cls.typeId;
}
//#endregion
export { getTypeId };