Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad .d.ts file contents breaking tsc builds #135

Open
arobinson opened this issue Apr 23, 2021 · 0 comments
Open

Bad .d.ts file contents breaking tsc builds #135

arobinson opened this issue Apr 23, 2021 · 0 comments

Comments

@arobinson
Copy link

Getting an error running tsc in one of our projects due to what looks like a bad d.ts file in tsutils.

$ ./node_modules/.bin/tsc
node_modules/tsutils/util/util.d.ts:257:65 - error TS1110: Type expected.

257 export declare function formatPseudoBigInt(v: ts.PseudoBigInt): `${string}n` | `-${string}n`;
                                                                    ~~~

package.json:

{
  "name": "nw-builders",
  "version": "0.0.1",
  "scripts": {
    "build": "./node_modules/.bin/tsc",
    "clean.all": "rm -rf node_modules dist"
  },
  "engines": {
    "node": "14.15.4"
  },
  "typings": "src/index.d.ts",
  "main": "src/index.js",
  "builders": "builders.json",
  "dependencies": {
    "@angular-devkit/architect": "0.1102.3",
    "@angular-devkit/build-angular": "0.1102.3",
    "@angular-devkit/core": "11.2.3",
    "@angular/compiler": "11.2.4",
    "@angular/compiler-cli": "11.2.4",
    "@angular/core": "11.2.4",
    "@types/glob": "7.1.3",
    "@types/ncp": "2.0.4",
    "@types/node": "14.6.0",
    "@types/rimraf": "3.0.0",
    "@types/yauzl": "2.9.1",
    "aws-sdk": "2.736.0",
    "chalk": "4.1.0",
    "glob": "7.1.6",
    "ncp": "2.0.0",
    "node-fetch": "^2.6.1",
    "rimraf": "3.0.2",
    "rxjs": "6.6.2",
    "typescript": "4.0.5",
    "yauzl": "2.10.0",
    "zone.js": "0.10.3"
  },
  "peerDependencies": {},
  "devDependencies": {
    "@angular-devkit/schematics": "11.2.3",
    "@angular/cli": "11.2.3",
    "@schematics/angular": "10.0.6",
    "fibers": "5.0.0",
    "html-webpack-plugin": "4.3.0",
    "license-checker": "25.0.1",
    "moment-timezone": "0.5.31",
    "moment-timezone-es6": "1.0.0",
    "prettier": "2.0.5",
    "request": "2.88.2",
    "rxjs-tslint-rules": "4.34.7",
    "tslib": "2.0.1",
    "tslint": "6.1.3",
    "tslint-config-prettier": "1.18.0",
    "tslint-plugin-prettier": "2.3.0",
    "typescript-tslint-plugin": "0.5.5"
  }
}
yarn list tsutils
yarn list v1.22.10
warning package.json: No license field
warning [email protected]: No license field
warning Filtering by arguments is deprecated. Please use the pattern option instead.
├─ [email protected]
│  └─ [email protected]
└─ [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant