TypeScript famously "becomes JavaScript via the delete key", and the process of deleting TypeScript syntax to transform a file into pure JavaScript is called "type stripping".

“TypeScript becomes JavaScript via the delete key” quote on the TypeScript website

Browsers cannot run TypeScript directly, so usually developers will use a bundler to perform type stripping. Even serverside JavaScript runtimes like Node.js required TypeScript transformation before running projects, until recently. Fortunately, we now have access to native type stripping directly inside recent versions of Node.js (see type stripping in the Node.js docs). Having typ…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help