TypeScript Function Types with or without Parameters

// Without Parameters
type Props {
  main: VoidFunction
}

// With Parameters
type Props {
  main: (value: string) => void
}