Roman Jámbor

Results 109 comments of Roman Jámbor

Can I clone the repo to debug it? It's not possible that two types has the same ID; it is generated by TypeScript so it meant that TypeScript itself has...

Hi @yd021976, I created this for Angular support https://github.com/Hookyns/ng-custom-transformers Not tested with the latest version and there is an issue with hot-reloads, but it will be solved in upcoming v1.0....

Here is a StackBlitz [demo](https://stackblitz.com/edit/tst-reflect-angular-ag-custom-transformers?file=src%2Fapp%2Fapp.component.ts).

Angular is complex closed system, there can be many issues with many different things. Some issues can be caused by transpileOnly or noLib options; or by incremental builds (you can...

Hi, thanks for the repro! I did not run it yet (I'm on phone) but now I understand what is happening. It must be an issue in some bundling phase...

Okay, I've published `[email protected]` which fix the issue. But there is still an issue with hot-reload -> reflection disappear when recompiled after changes.

What's the syntax you used? There is no code in your demo repo. `getType()`? It must be `getType()` or `getType(test)`. `getType` is not valid TS syntax. ![image](https://user-images.githubusercontent.com/2551259/192135099-a56d0fd2-c60f-4f0a-8cab-c87e67f8fa1e.png) --- I pushed...

Hot reloads can be hot-fixed by adding this to polyfills: ```typescript import { Type, getType } from "tst-reflect"; (window as any)._ßr = { Type, getType }; ``` But then there...

```typescript let t3 = getType(test); ``` Works for me. It only doesn't work after hot reload, as I said, cuz of different id assigned after change. If it is doesn't...

> Ho, I forgot one more thing. Do you think it would be a good idea to update the doc to explain how to configure tst-reflect for Angular ? If...