I rewrote the code with a version of Dict that uses Reflect and check for existing key with Reflect.has.
Still curious if there are any tricks for my weird use case (create a TypeScript and ReScript library without any external dependencies).
I rewrote the code with a version of Dict that uses Reflect and check for existing key with Reflect.has.
Still curious if there are any tricks for my weird use case (create a TypeScript and ReScript library without any external dependencies).