typescript-pipeline-operator icon indicating copy to clipboard operation
typescript-pipeline-operator copied to clipboard

[Discussion] Typechecking still fails

Open MiracleBlue opened this issue 5 years ago • 6 comments

Howdy,

Although yes, it certainly would compile in this case, it would still break the typechecker since the typechecker doesn't yet understand the pipeline syntax. When babel compiles, it doesn't actually run the typechecker; it will simply remove all the typescript syntax and then compile as if it were all normal javascript.

As much as I and many others desperately want pipeline support in TS, there is no solution that doesn't involve changes to the typechecker as far as I can tell 😢

MiracleBlue avatar Mar 16 '19 01:03 MiracleBlue