Skip to content
Myr

fix(types): remove slow types (#3147)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Yusuke Wada · committed by GitHub · parent 20d8771 · Browse files · 4 files+10 added−6 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+10 added−6 removed

  • other:+10 added−6 removed

4 files+10 added−6 removed

modified:src/jsx/dom/hooks/index.ts+2 added-1 removed
modified:src/jsx/dom/render.ts+1 added-1 removed
342 unmodified lines
343344 return345}346347const cancelBuild = Symbol()347const cancelBuild: symbol = Symbol()348const applyNodeObject = (node: NodeObject, container: Container): void => {349 const next: Node[] = []350 const remove: Node[] = []351 const callbacks: EffectData[] = []
361 unmodified lines
modified:src/jsx/intrinsic-element/components.ts+5 added-2 removed
166 unmodified lines
167 PERMALINK in props.formAction ? (props.formAction[PERMALINK] as string) : undefined168 }169 return newJSXNode(tag, props)170}171export const input = (props: PropsWithChildren) => formActionableElement('input', props)172export const button = (props: PropsWithChildren) => formActionableElement('button', props)171172export const input: (props: PropsWithChildren) => unknown = (props) =>173 formActionableElement('input', props)174export const button: (props: PropsWithChildren) => unknown = (props) =>175 formActionableElement('button', props)
modified:src/compose.ts+2 added-2 removed