Post AdgvxpyIt7ukrsCM3E by animeirl@shitposter.club
(DIR) More posts by animeirl@shitposter.club
(DIR) Post #AdghUBp7gDwCavsB1s by nik@misskey.bubbletea.dev
2024-01-10T01:36:18.043Z
1 likes, 0 repeats
jesus christ I hate javascript, ah yes let me try out this API via a repl. invalid host definition type error? oh yeah silly node user you can't just import your code without shoving it through a transpilation pipeline first
(DIR) Post #AdgqfMjcLsdlCxhZI0 by shibao@misskey.bubbletea.dev
2024-01-10T03:22:11.322Z
0 likes, 0 repeats
@nik you know jsdoc goes through the same lsp as typescript except you don't get this bs right you just get the benefits of documentation
(DIR) Post #AdgroGm5yqeHHefcTA by nik@misskey.bubbletea.dev
2024-01-10T03:34:27.195Z
0 likes, 0 repeats
@shibao does jsdoc give you generics
(DIR) Post #AdgroHg6cbS45MsLlw by shibao@misskey.bubbletea.dev
2024-01-10T03:34:59.657Z
0 likes, 0 repeats
@nik @template
(DIR) Post #AdgrtkCjzMOG0SkBZA by nik@misskey.bubbletea.dev
2024-01-10T03:35:53.039Z
1 likes, 0 repeats
@shibao ahI think I just won't use javascript
(DIR) Post #Adgs8Uvh3xQmyYnzWq by nik@misskey.bubbletea.dev
2024-01-10T01:43:55.772Z
0 likes, 0 repeats
tried ts-node and import throws undocumented errors and require tells me to use import
(DIR) Post #Adgs8VhYC1iDMzCD7g by animeirl@shitposter.club
2024-01-10T03:39:11.106769Z
0 likes, 0 repeats
@nik just compile and run it unfortunately thats the only official way to do stuff
(DIR) Post #AdgvxowUiMsBfyLOam by nik@misskey.bubbletea.dev
2024-01-10T03:59:35.702Z
0 likes, 0 repeats
@animeirl@shitposter.club but i want repl :( i ended up doing it in a browser
(DIR) Post #AdgvxpyIt7ukrsCM3E by animeirl@shitposter.club
2024-01-10T04:22:03.387325Z
1 likes, 0 repeats
@nik you could always use deno if you're ok with their weird ass import system