mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
9 lines
249 B
TypeScript
9 lines
249 B
TypeScript
// Similar to `global.d.ts` but with import/export
|
|
import { Dispatch, SetStateAction } from 'react'
|
|
|
|
type ReactIO<T> = {
|
|
value: T
|
|
onChange: Dispatch<SetStateAction<T>>
|
|
}
|
|
|
|
type PropsWithChildren = React.PropsWithChildren<Record<string, unknown>>
|