Failure to compile with Typescript project
I have gone through the readme and I am still getting errors while building. I was wondering if you could point me to a resolution or file as an issue.

tsconfig.json
```
{
  "allowSyntheticDefaultImports": true,
  "compileOnSave": true,
  "compilerOptions": {
    "allowJs": true,
    "esModuleInterop": true,
    "target": "ES2021",
    "noImplicitAny": true,
    "noImplicitReturns": true,
    "moduleResolution": "node",
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "resolveJsonModule": true,
    "typeRoots": ["./types", "./node_modules/@types"],
    "sourceMap": true,
    "outDir": "dist/",
    "baseUrl": ".",
    "paths": {
      "*": ["node_modules/*"]
    },
    "maxNodeModuleJsDepth": 10,
    "module": "node16"
  },
  "include": ["src/**/*", "test/**/*"]
}
```


Output
```
$ tsc && cp -r ./static ./dist/
node_modules/graphql-upload/processRequest.mjs:384:7 - error TS2694: Namespace '"/server/node_modules/fs-capacitor/dist/index"' has no exported member 'ReadStreamOptions'.

384  *   .ReadStreamOptions["encoding"]} [options.encoding] Specify an encoding for
          ~~~~~~~~~~~~~~~~~

node_modules/graphql-upload/processRequest.mjs:393:7 - error TS2694: Namespace '"/server/node_modules/fs-capacitor/dist/index"' has no exported member 'ReadStreamOptions'.

393  *   .ReadStreamOptions["highWaterMark"]} [options.highWaterMark] Maximum number
          ~~~~~~~~~~~~~~~~~


Found 2 errors in the same file, starting at: node_modules/graphql-upload/processRequest.mjs:384
```

```
node --version
v16.15.0
```