You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Occurs for all files with a @remote decorator (those are modified in the restfuncs-transformer stage).
I think, there won't be an easy fix for this soon, or we need someone who's really familiar with the tsc compiler internals.
See this discussion.
The text was updated successfully, but these errors were encountered:
I think, the precise problem is in: transformer/index.ts: compilerHost.fileCache.set(sourceFile.fileName, updatedSourceFile);
from there on, the compiler takes this as the original file and i think, there's no way, you could provide a (let's say:) originalSourceFile.ts -> updatedSourceFile.ts source map there. So you'd kind of have the grab the generated code (either from the generated AST, during visiting, or by a diff afterwards) and squeeze all that code into one line inside the original file content at the correct position. Not quiet easy...
How to earn this $200.00 reward? 💪 Comment /try and start working on solving the issue!
🙌 And when you open the PR, comment /claim #2 either in the PR description or in a PR's comment
Occurs for all files with a
@remote
decorator (those are modified in the restfuncs-transformer stage).I think, there won't be an easy fix for this soon, or we need someone who's really familiar with the tsc compiler internals.
See this discussion.
The text was updated successfully, but these errors were encountered: