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
Gives the following type error (only if @remix-run/node is imported):
No overload matches this call.
The last overload gave the following error.
Property 'NODE_ENV' is missing in type '{ EXAMPLE: string; }' but required in type 'ProcessEnv'.
System Info
This is using the TypeScript playground.
Used Package Manager
npm
Expected Behavior
Passing the env option to child_process.spawn() should not produce a type error.
Reproduction
TypeScript playground.
Gives the following type error (only if
@remix-run/node
is imported):System Info
This is using the TypeScript playground.
Used Package Manager
npm
Expected Behavior
Passing the
env
option tochild_process.spawn()
should not produce a type error.This seems to be related to:
remix/packages/remix-node/globals.ts
Lines 3 to 5 in e8d1aea
Actual Behavior
There is a type error.
The text was updated successfully, but these errors were encountered: