pmndrs / tunnel-rat

🐀 Non gratum anus rodentum

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can i use this with typescript?

xih opened this issue · comments

Running into this error when running this with typescript.

Expected 0 type arguments, but got 1.ts(2558)
type Tunnel = {
    In: ({ children }: Props) => null;
    Out: () => JSX.Element;
}

any suggestions on the fix?

image