#huh, what did you use to get the types
1 messages · Page 1 of 1 (latest)
In most cases I defined them myself for things I needed. I haven't used this for anything very deep (ex. document manipulation), so that may not be practical for your use case. There isn't really another option right now, AFAIK until the League completes their work, per ChaosOS' notes above.
I'm not seeing those type defs in your repo
@verbal relic in the meanwhile you can use a jsconfig.json file
eh?
What version are you developing for? v12?
that's complicated
but my point was only that RockstarDR's repo doesn't seem to have any type definitions in it
It includes @league-of-foundry-developers/foundry-vtt-types which covers up through v9
But my comment about building out manual ones just meant for each project I round out any specific ones that I need (usually a pretty short list for what I've done to date).
For example: https://github.com/dovrosenberg/fvtt-autocomplete-mentions/blob/master/src/types/index.ts