utils.ts
This file
Path
src/jsx/dom/utils.ts
7 lines 路 232 bytes 路 TypeScript
Last changed by
Not known.
History of this fileTake it
12345678import { DOM_INTERNAL_TAG } from '../constants'
export const setInternalTagFlag = (fn: Function): Function => { // eslint-disable-next-line @typescript-eslint/no-explicit-any ;(fn as any)[DOM_INTERNAL_TAG] = true return fn}