Closed itsmeeudrino closed 4 weeks ago
The current importClassesFromDirectories implementation uses Object#keys to loop over module exports, which seems to break the demo.
importClassesFromDirectories
Object#keys
This PR changes the module loop to use for (key in obj) instead, which fixes the bug.
for (key in obj)
Run the demo by using
bun demo/index.ts
then navigate to http://localhost:3000/
Bun version: 1.1.8
Thanks! Sorry for the late response.
The current
importClassesFromDirectories
implementation usesObject#keys
to loop over module exports, which seems to break the demo.This PR changes the module loop to use
for (key in obj)
instead, which fixes the bug.How to replicate the bug:
Run the demo by using
then navigate to http://localhost:3000/