Skip to content

v1.1.0

Latest

Choose a tag to compare

@orenelbaum orenelbaum released this 09 Dec 13:53
· 2 commits to main since this release

Added support for ParentComponent type annotation.

import type { ParentComponent } from 'solid-js'
const MyComp: ParentComponent<...> = ({ a, b, c }) => {a; b; c;};

//  ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
import type { ParentComponent } from 'solid-js'
const MyComp: ParentComponent<...> = props => {props.a; props.b; props.c;}