You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
can i create a drop-in repl with variables in scope from preloaded files? #1279
basically i have a new typescript project, and i'd love to be able to start up a repl and instantly have access to project types defined in a file. specifically, things defined like:
Activity
adccb commentedon Mar 19, 2021
for clarity, i've tried setting up a
repl_setup.tsthat looks like this:but it doesn't look like these variables are populated in the repl at all—
is there some other way to do this?