(no title)
pantojax45 | 3 years ago
> As a shortcut, I used GPT-3 to generate a basic typescript function for me. This let me look at TS type definitions and get a better idea of what’s available so I could get developing.
pantojax45 | 3 years ago
> As a shortcut, I used GPT-3 to generate a basic typescript function for me. This let me look at TS type definitions and get a better idea of what’s available so I could get developing.
lelandfe|3 years ago
My assumption was that their prompt was something like "typescript cloudflare function" and they just used the resultant code to see types in action inside their IDE.
tarasglek|3 years ago
I just got access to OpenAI codex. I used edit function and asked it to modify the JS hello world, to add typescript annotations.
This is the git commit following that gpt conversation :)
Not as minimal as the code I posted, but it got me over the stumbling block.wilg|3 years ago