What is the correct (or at least idiomatic) way to type a state hook in TypeScript?
Is it
const [items, setItems] = useState( [] as SomeType[] )
or
const [items, setItems] = useState<SomeType[]>( [] )
or something else? Or are there really no meaningful differences among the options?