Skip to content

Commit

Permalink
Fix Switch.env constructor usage
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Jul 7, 2024
1 parent db1960c commit 97f810a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/runtime/src/switch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ export interface SocketInfo {
*
* See {@link Env | `Switch.Env`} for more information.
*/
export const env = new Env();
// @ts-expect-error Internal constructor
export const env = new Env(INTERNAL_SYMBOL);

/**
* Array of the arguments passed to the process. Under normal circumstances, this array contains a single entry with the absolute path to the `.nro` file.
Expand Down

0 comments on commit 97f810a

Please sign in to comment.