Why `NodeRuntime.runMain` Requires `// @ts-expect-error` in TypeScript
Why does
Else it shows this an error on my server https://github.com/guillempuche/effect_server_react/blob/main/apps/server/src/main.ts#L76:
My code is inspired by
https://gist.github.com/ecyrbe/26e4f8ed8a68bd73e8b3575481f55775#file-note-api-ts-L230 that is:
NodeRuntime.runMain need // @ts-expect-error (below the code)?Else it shows this an error on my server https://github.com/guillempuche/effect_server_react/blob/main/apps/server/src/main.ts#L76:
My code is inspired by
https://gist.github.com/ecyrbe/26e4f8ed8a68bd73e8b3575481f55775#file-note-api-ts-L230 that is:
