How to Properly Configure Types Proxy for Optimal Performance? or What Are the Best Practices to Conf

19 Replies, 1887 Views

Ugh, the "config not applying" thing drove me nuts too. Turns out, sometimes the order of operations matters.

Try wrapping your proxy config in a function and calling it *after* all types are loaded. Sounds dumb, but it worked for me.

Also, `ts-morph` can help debug this stuff—lets you inspect the AST and see where things go wrong.

Messages In This Thread



Users browsing this thread: 1 Guest(s)