Anton Gilgur

Results 766 comments of Anton Gilgur

> Not quite - it's a directory that lets different tools to pick up the best format of the output bundle. Yes ^that. I've linked a much smaller example a...

Sounds like this might be similar to #527 which never provided a repro. `test.ts` is a type-only/emit-less import and its type isn't used anywhere, so it might just be pruned...

I did some research on this in the past few weeks/months and found a reference to the original issue in `rollup-plugin-typescript` (https://github.com/rollup/rollup-plugin-typescript/issues/28) from [`@wessberg/rollup-plugin-ts`'s docs](https://github.com/wessberg/rollup-plugin-ts/blame/980e1dad284a7fc3cd3c2ec6c862be13099843ad/README.md#L42). That was then moved to...

@ezolenko following up about the above

Noting here that this type-only issue was reproduced upstream in https://github.com/ezolenko/rollup-plugin-typescript2/issues/298. I became a maintainer of rpt2 a couple of months ago and fixed that in https://github.com/ezolenko/rollup-plugin-typescript2/pull/345 , which was...

There is also `PropTypes.InferProps` from the `prop-types` package, which is detailed well in https://dev.to/busypeoples/notes-on-typescript-inferring-react-proptypes-1g88

@acasazza please read the comments. There isn't currently a viable approach, so there can't be a roadmap.

@acasazza again, please read the comments before notifying everyone... `babel-plugin-typescript-to-proptypes` is not compatible with TSDX. It requires using `@babel/preset-typescript` to strip types whereas TSDX fully compiles the TypeScript with `rollup-plugin-typescript2`....

Thought I'd mention this here for any readers, but I wrote upstream in rpt2 (where I now help out as a maintainer) in https://github.com/ezolenko/rollup-plugin-typescript2/issues/268#issuecomment-1151665344 that using Babel plugins on top...

## Reproduced Ah, the VSCode vs `tsdx test` difference is _very_ important. This is an issue I was strongly suspecting, but could not reproduce in my VSCode for some reason...