Andrew Bradley

Results 591 comments of Andrew Bradley

I won't have time for a PR in the next few months; busy with work stuff. On Tue, Jun 21, 2016 at 6:07 PM, Blaine Bublitz [email protected] wrote: > Surfacing...

I'd like to make an attempt at implementing this. Is this the correct place to implement the change? https://github.com/dprint/dprint-plugin-typescript/blob/64064984dc24339249c6425a1401f93d94887967/src/generation/parser.rs#L3467-L3472 I see that this code uses contextual information about the location...

You'll need to write code to figure out if quotes are necessary per-object, save that value somewhere, and apply that formatting to each property name of the object. Currently, the...

I'm using this as a workaround, but I'm not 100% sure it's working: ```typescript class HardSourceFixBug { apply(compiler) { compiler.plugin('_hardSourceAfterFreezeAsset', (frozen, item, extra) => { if(typeof frozen === 'string') {...

I need a way to plug into diagnostics so that I can filter diagnostics for certain files. I can accomplish this via a language service plugin, but those are not...

Thanks, I'll check it out. I'm trying to understand why ttypescript and ts-patch use different approaches to patching the compiler. It looks like ts-patch writes modifications to the filesystem, whereas...

If #96 is implemented, then this project can be named `pluggable-typescript` or `typescript-plugins`. CLI name can be `ptsc` or `tscp`. This project could accomplish TypeStrong/discussions#5

Can typescript transformers change diagnostics? I thought that was not possible since noEmit exists. I was thinking that if we add features which transformers cannot do, then it might make...

Typescript internally refers to all typechecking errors as "diagnostics." It's my understanding that they are generated by the typechecker, and transformers cannot modify/add/remove them in noEmit mode. Language service plugins,...

Ttypescript and ts-patch already hook into createProgram to override methods, which adds support for transformers. It seems reasonable to further hook the compiler to intercept and filter diagnostics, which should...