pzavolinsky / ts-unused-exports

ts-unused-exports finds unused exported symbols in your Typescript project
MIT License
749 stars 49 forks source link

update typescript version #33

Closed HurSungYun closed 5 years ago

HurSungYun commented 5 years ago

My tsconfig.json use strictBindCallApply option that added in Typescript 3.2.

{
  "compilerOptions": {
    "noImplicitUseStrict": true,
    "module": "commonjs",
    "outDir": "gen",
    "rootDir": "src",
    "noImplicitAny": false,
    "noUnusedLocals": false,
    "noUnusedParameters": false,
    "strictBindCallApply": true,
    "resolveJsonModule": true,
    "target": "es2017",
    "lib": [
      "es2017",
      "scripthost"
    ],
    "inlineSourceMap": true,
    "allowJs": true
  }
}
$ ts-unused-exports ./tsconfig.json 

> Cannot parse './tsconfig.json'.
> [{"messageText":"Unknown compiler option 'strictBindCallApply'.","category":1,"code":5023}]

I believe Typescript version should be updated for convenience.

mrseanryan commented 5 years ago

Done in v 3.0.0. Closing - thank you for pointing this out.