relay-compiler-language-typescript icon indicating copy to clipboard operation
relay-compiler-language-typescript copied to clipboard

Relay Compiler generates Typescript Synthax error

Open bardouni opened this issue 2 years ago • 3 comments

I'm running relay-compiler with type script and it generates this exact line ( Empty Alias ) when using "conections". import { FragmentRefs as } from "relay-runtime". image Packages versions: image Thank you

bardouni avatar Dec 02 '21 09:12 bardouni

https://github.com/relay-tools/relay-compiler-language-typescript/issues/513

gajus avatar Dec 03 '21 20:12 gajus

@bardouni are you sure that you are using Version 15? In the output of the Texts everything looks fine for me: https://github.com/relay-tools/relay-compiler-language-typescript/blob/885caadd0a31950d4a22765c69eeb687ead9ac2f/test/snapshots/TypeScriptGenerator-test.ts.snap#L96

fxOne avatar Dec 07 '21 10:12 fxOne

The new version fixed it for me, indeed.

radoslavkarlik avatar Dec 24 '21 10:12 radoslavkarlik