
SocketIO TypeScript : Build Your First TypeScript File
Channel:
Subscribers:
24,900
Published on ● Video Link: https://www.youtube.com/watch?v=0B96GJDSiFs
https://sbcode.net/tssock/build-first-ts/
Create yourself working a folder somewhere, and create a new file in it called foo.js
We can run this file directly in Nodejs or include it in a web page, and it will run inside the browser. But it isn't typescript.
Rename the foo.js to foo.ts
We can then compile it
$ tsc foo.ts
And run it
$ node foo.js
#typescript
#tsc
Other Videos By SBCODE
Tags:
socketio
typescript
typescript socketio course