Superset means all valid JavaScript is also valid Typescript. (At least, so long as you don’t have compiler setting on that requires all variables to have a type declared.)
- 0 Posts
- 26 Comments
It’s a superset of JavaScript. The big add is static typing, reducing the chance of runtime type errors. It compiles to vanilla JavaScript for distribution. Other new features include enums, interfaces, and generics for more type safety.
mercano@lemmy.worldto
Ask Lemmy@lemmy.world•What are some 90s catchphrases you remember?
21·3 months agoIt’s da bomb
1xx - We’re still working on it
When it fails, it at least points you to the site where everyone asks for help.
“Can I get a sundae?”
“Sorry, the VM is broken.”
mercano@lemmy.worldto
Programmer Humor@programming.dev•What do you call your production branch?
25·5 months ago“live” didn’t make it onto the list, I see.
The first three Macs had this jack in the front for the keyboard and a PC-like serial port in the back for the mouse. With the Mac SE and II, the switched to ADB, which looked like a PS/2 port, but you could daisy chain your mouse, keyboard, and other inputs like tablets or joysticks all into one jack in the back of the computer.
In my day, the RJ-11 jack was for connecting the keyboard, not the phone line.

Early PC only had 5 card slots, and the only jack on the motherboard was the keyboard. One slot is going to be used by a video card, one’s probably being used by a hard drive controller, one’s probably used by a parallel + serial card. Soundcards also included controller ports to try to save a slot.
When “What idiot wrote this?” is replaced by “I should call my mom.”
The license plate on that car seems on-brand for Bond.
mercano@lemmy.worldto
Ask Lemmy@lemmy.world•Which state in the US is the worst to live in? Why?
9·6 months agoMost astronauts only go about 250 miles up, the distance from Cleveland to Cincinnati. That said, Neil Armstrong got a lot further away from Ohio.
mercano@lemmy.worldto
Ask Lemmy@lemmy.world•Lynard Skynard talks about Sweet Home Alabama, but I don't know if that states has anything worth mentioning?
16·7 months agoThere’s a Saturn V on display at NASA’s Marshall Space Flight Center in Huntsville, but the people who made that facility important were born in Germany, not Alabama.
If there was no cursor, where was the code he was typing being entered?
mercano@lemmy.worldto
Ask Lemmy@lemmy.world•You're asked to vote for the food and drink that best fits the region you live in... What would you vote for?
2·7 months agoVermont: A maple creeme (maple flavored, butterfat heavy, soft serve) and your choice of locally brewed beer. We’ve got a lot of craft breweries. I know Heady Topper has a cult following, but there are also other options.
Germany didn’t choose hydrogen because of its greater lifting capacity, they had to use it because the US was the only country at the time with industrial quantities of helium, and they weren’t exporting it. The Hindenburg was originally planed to use helium, but once the Zeppelin Company resigned themselves to having to use hydrogen, they added addition passenger staterooms to take advantage of the excess lift capacity.
mercano@lemmy.worldto
Showerthoughts@lemmy.world•Thousands of years ago, when tools were very primitive, it was probably common to have a favorite rock.
5·8 months agoSea otters exhibit this behavior. They keep their favorite rock in their pouches and use them to crack open shellfish.
Activation fees certainly did.

JS minification can make debugging much harder.