Typescript build fails, pointing to internal types.

My typescript build fails with 4 errors, all of them pointing to internal type declarations. Is there anything I can do to prevent this?
My tsconfig:
{
    "compilerOptions": {
        "module": "ESNext",
        "esModuleInterop": true,
        "target": "ESNext",
        "moduleResolution": "Node",
        "sourceMap": true,
        "outDir": "out",
        "rootDir": "src",
        "newLine": "crlf"
    },
    "lib": ["es2015"],
    "include": ["src"],
    "exclude": ["node_modules", "./node_modules", "./node_modules/*"]
}
Was this page helpful?