Report binder diagnostics, program diagnostics as well as file pre processing diagnostics in javascript file#5839
Conversation
…diagnostics in javascript file Handles #5785
5657469 to
5772dad
Compare
There was a problem hiding this comment.
do not think we should report this one for js files.
There was a problem hiding this comment.
I agree this should be error only if !noEmit But what if we are emitting? what will we emit?
What should happen for
export class c {
}There was a problem hiding this comment.
i see.. but it is still annoying for the JS language service scenarios.
|
i think we need to go through all binder errors and see if we should not report some of them for JS files. |
|
@mhegazy , it seems like all the binder diagnostics are fine to report. I am looking into program diagnostics and file preprocessing diagnostics to see if they make sense in JS file |
|
👍 |
Report binder diagnostics, program diagnostics as well as file pre processing diagnostics in javascript file
Handles #5785