isDomGlobal

tcmts.cli.placement.isDomGlobal · #cjz3id4i · term · runs anywhere

import { DOM_GLOBALS } from "#codebase/tcmts/cli/placement";

export const isDomGlobal = (name: string) => DOM_GLOBALS.has(name) || /^(HTML|SVG)\w*Element$/.test(name)

uses

used by