and I got down to 16 files for reproducing the "RangeError: Maximum call stack size exceeded" error.
and I got down to 16 files for reproducing the "RangeError: Maximum call stack size exceeded" error. I can probably get lower too
9 Replies
Progress is progress heh.
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
if you hover over the
folders
in game.folders
what type does it say it is?
eslint no-unsafe-assignment has some issues annoyinglyUnknown User•5mo ago
Message Not Public
Sign In & Join Server To View
Yeah you're having an issue then
if you run
npx tsc
in your terminal do any errors show up?Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
Okay let me see if I can reproduce
Okay I found the issue
This is an issue with the builtin
InstanceType
of all things lol
They write this:
you can see the : any
and that's what you're getting this
I became aware of this and started rolling out mitigations before anyone even reported it
but unfortunately I missed one spot
And of course also started using more code that hits this InstanceType
edge case
game.folders
hasn't been broken for longUnknown User•5mo ago
Message Not Public
Sign In & Join Server To View
Haha yeah it's, let's say, underdocumented
it's the next thing on my list; #Foundry VTT Types Announcements