#are more ways to get inferrence to work with arrays?

3 messages · Page 1 of 1 (latest)

tribal ivy
#

Essentially what I want to do is to get correctly typed parameters inside my array items
A simple example for what I mean can be found here

this works as expected but I'm curious if there are other solutions to this problem since this is the only one I could think of

full pendantBOT
#

@tribal ivy Here's a shortened URL of your playground link! You can remove the full link from your message.

silver_lk#0
south mantle
#

You could also explicitly specify the type:

const test : MappedManifestOptions[] = [...]