|
|
|
|
|
by dpkirchner
71 days ago
|
|
I caught it using Parameters<typeof otherfn>[2] the other day. It wanted to avoid importing a type, so it did this nonsense. (I might have the syntax slightly wrong here, I'm writing from memory.) But it's not all bad news. TIL about Parameters<T>. |
|