TypeStrong / grunt-ts

A grunt task to manage your complete typescript development to production workflow
https://www.npmjs.com/package/grunt-ts
MIT License
330 stars 121 forks source link

Uncorrect warning: Property "compile" in ts task is possibly in the wrong place and will be ignored. #364

Closed 0815fox closed 8 years ago

0815fox commented 8 years ago

Having the following config in Gruntfile:

ts: {
  compile : {
    tsconfig: true
  }
}

pops out following warning:

Property "compile" in ts task is possibly in the wrong place and will be ignored.  It is expected on the options object.

This is the same config like in this chapter of Readme.md - the only difference is, that I named my target "compile" - so the compile is not meant as the compile-option on the options object, rather it is meant to be the name of the ts task.

nycdotnet commented 8 years ago

Fair enough. I agree this is a false positive. It still works, right?

0815fox commented 8 years ago

Yeah it works, just confused me in the beginning. So it is not critical at all.

nycdotnet commented 8 years ago

This should be fixed in grunt-ts@6.0.0-beta.2. Please confirm. Thank you for the report.

nycdotnet commented 8 years ago

Hi @0815fox - I believe this is fixed, but please reopen if it is not. Thank you.