"can only be default-imported using the 'esModuleInterop' flag"
<!--
Please DO NOT DELETE THIS TEMPLATE or your issue may be closed immediately.
Before opening an issue, search for open and closed GitHub issues that match your situation.

If this is a Live Stream issue please go back and use the Live Streaming issue template.
-->

# Bug Report

### Describe the Bug
Happens when I run it from CMD

### To Reproduce
Steps to reproduce the behavior:
 - Running tsc ring.ts from CMD
### Expected behavior
Looking for the app too run. 

### Screenshots/Logs
>tsc ring.ts
../../node_modules/werift/lib/ice/src/dns/lookup.d.ts:2:8 - error TS1192: Module '"worker_threads"' has no default export.

2 import worker_thread from "worker_threads";
         ~~~~~~~~~~~~~

../../node_modules/werift/lib/ice/src/helper.d.ts:2:8 - error TS1259: Module '"C:/Users/w/node_modules/p-cancelable/index"' can only be default-imported using the 'esModuleInterop' flag

2 import PCancelable from "p-cancelable";
         ~~~~~~~~~~~

  ../../node_modules/p-cancelable/index.d.ts:176:1
    176 export = PCancelable;
        ~~~~~~~~~~~~~~~~~~~~~
    This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.

../../node_modules/werift/lib/ice/src/ice.d.ts:2:8 - error TS1259: Module '"C:/Users/w/node_modules/p-cancelable/index"' can only be default-imported using the 'esModuleInterop' flag

2 import PCancelable from "p-cancelable";
         ~~~~~~~~~~~

  ../../node_modules/p-cancelable/index.d.ts:176:1
    176 export = PCancelable;
        ~~~~~~~~~~~~~~~~~~~~~
    This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.

../../node_modules/werift/lib/webrtc/src/helper.d.ts:2:8 - error TS1259: Module '"events"' can only be default-imported using the 'esModuleInterop' flag

2 import EventEmitter from "events";
         ~~~~~~~~~~~~

  ../../node_modules/@types/node/events.d.ts:636:5
    636     export = EventEmitter;
            ~~~~~~~~~~~~~~~~~~~~~~
    This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.


Found 4 errors in 4 files.

Errors  Files
     1  ../../node_modules/werift/lib/ice/src/dns/lookup.d.ts:2
     1  ../../node_modules/werift/lib/ice/src/helper.d.ts:2
     1  ../../node_modules/werift/lib/ice/src/ice.d.ts:2
     1  ../../node_modules/werift/lib/webrtc/src/helper.d.ts:2

### Environment
 - OS: [e.g. Windows]
 - Node.js: [e.g. 16.14.0] 
 - NPM: [e.g 8.3.1] 
 - ring-client-api
