Array with generic vs type[]

Using array with generic works but the same thing using type[] does not. anyone know why? thanks
3 Replies
Kasper
Kasper2y ago
Maybe your Link interface is merging with something that's causing the error? It's really hard to tell without more context. When asking for help, share your code via codesandbox (or something similar). Screenshoting code is never a good idea. Anyway, try changing interface Link to type Link =
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Perfect
Perfect2y ago
Yeah using just type Link = worked @Kasper @jetpackjoe I am no ts wizard - so why that worked instead makes no sense but for now its fine appreciate the help
Want results from more Discord servers?
Add your server