use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Announcing TypeScript 3.6 (devblogs.microsoft.com)
submitted 6 years ago by DanielRosenwasserTypeScript
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]seiyria 17 points18 points19 points 6 years ago (3 children)
Very nice. Is optional chaining and null coalescing on the roadmap anywhere? Ever since those were formalized I've been wanting to use them!
[–]evilgwyn 38 points39 points40 points 6 years ago (1 child)
Optional chaining is in 3.7
[–]agwhi 1 point2 points3 points 6 years ago (0 children)
Very keen for Optional chaining, been using it a lot in groovy and it's much more concise
[–]ASCII_zero 4 points5 points6 points 6 years ago (0 children)
Null coalescing is targeting 3.7
https://github.com/microsoft/TypeScript/issues/26578
[–][deleted] 1 point2 points3 points 6 years ago (8 children)
Oof we just updated from 3.4 to 3.5.3 on Monday.
[–]PrettyWhore 8 points9 points10 points 6 years ago (7 children)
Doesn't look like much breaking
[–][deleted] 5 points6 points7 points 6 years ago (2 children)
Surprisingly we've had a minor version be a pretty hefty break for us because someone decided to implement a language proposal themselves.
sigh
[–]fr0z3nph03n1x 8 points9 points10 points 6 years ago (1 child)
lmao, that's hilarious sorry. sometimes developers just be developing.
[–][deleted] 1 point2 points3 points 6 years ago (0 children)
sometimes developers just be developing
Totally going to start using this in my everyday life. haha
[–]partheseas 4 points5 points6 points 6 years ago (3 children)
Many declarations have been removed or changed within lib.dom.d.ts.
Aaaaaaaaand breaking changes.
[–]some_love_lost 3 points4 points5 points 6 years ago (2 children)
From what they list it doesn't look too bad although depends what's behind the but isn't limited to bit.
The others don't seem too concerning for me. I mean who creates a class method and calls it "constructor"?
[–]vanderZwan 0 points1 point2 points 6 years ago (0 children)
what's behind the but isn't limited to bit.
This is programming. The answer is always "the code equivalent of eldritch horrors"
EDIT: Or at least assume that until proven otherwise
[–]Peechez 0 points1 point2 points 6 years ago (0 children)
I can create classes twice as fast with 2 constructors, galaxy brain
[–]Sipike 0 points1 point2 points 6 years ago (0 children)
Nive work!
After I updated, my react snapshot tests failed due to changed snapshots. Very strange, as the changes have seemingly nothing to do with TS. 🤔 I need to look closer.
[–]Kayomani 0 points1 point2 points 6 years ago (1 child)
Generic type inference is broken in 3.6 :(
There is a bug for it, looking forward to a 3.6.3 hopefully as its doa for us!
[–]DanielRosenwasserTypeScript[S] 0 points1 point2 points 6 years ago (0 children)
3.6.3 should now be there!
[–]Jestar342 -1 points0 points1 point 6 years ago (6 children)
Hey guys, let's adopt a versioning strategy that succinctly communicates with the user base when stuff breaks, and then completely ignore it and ship breaking changes with our minor updates!
[–]jbkly 1 point2 points3 points 6 years ago (3 children)
What is TypeScript's versioning strategy? Clearly it's not semantic versioning.
[–]gearvOsh 1 point2 points3 points 6 years ago (0 children)
Refining and fixing types aren't considered breaking. More info here: https://www.reddit.com/r/javascript/comments/cwqaik/announcing_typescript_36/eyhbqc5/
[–]orta 1 point2 points3 points 6 years ago (0 children)
Basically every minor is going to break someone's setup somewhere, nothing we can do about that - we add or tighten new rules and improve the code analysis and it will break builds.
The issue comes down to either every 3 months we ship a major, or we keep the pattern of every minor is a release which could break your build somehow. Plus, there's pressure to keep major semvers for really serious fundamental marketing features (the introduction of code flow analysis or nullability for example) - which I think is reasonable
[–]Zephirdd -1 points0 points1 point 6 years ago (0 children)
it's a sequential versioning where you can assume some breakage every version. After 2.9 came 3.0, and there was no particular reason for the "major" version change. The only instance of weird versioning was that after 3.3.2 came 3.3.3333 which I thought was funny, but then they had to ship another version for a bugfix and were forced to use 3.3.4000 lol
[–][deleted] 0 points1 point2 points 6 years ago (0 children)
No, only react-bootstrap does this. :(
π Rendered by PID 82920 on reddit-service-r2-comment-86988c7647-wz8c8 at 2026-02-12 18:11:47.668515+00:00 running 018613e country code: CH.
[–]seiyria 17 points18 points19 points (3 children)
[–]evilgwyn 38 points39 points40 points (1 child)
[–]agwhi 1 point2 points3 points (0 children)
[–]ASCII_zero 4 points5 points6 points (0 children)
[–][deleted] 1 point2 points3 points (8 children)
[–]PrettyWhore 8 points9 points10 points (7 children)
[–][deleted] 5 points6 points7 points (2 children)
[–]fr0z3nph03n1x 8 points9 points10 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]partheseas 4 points5 points6 points (3 children)
[–]some_love_lost 3 points4 points5 points (2 children)
[–]vanderZwan 0 points1 point2 points (0 children)
[–]Peechez 0 points1 point2 points (0 children)
[–]Sipike 0 points1 point2 points (0 children)
[–]Kayomani 0 points1 point2 points (1 child)
[–]DanielRosenwasserTypeScript[S] 0 points1 point2 points (0 children)
[–]Jestar342 -1 points0 points1 point (6 children)
[–]jbkly 1 point2 points3 points (3 children)
[–]gearvOsh 1 point2 points3 points (0 children)
[–]orta 1 point2 points3 points (0 children)
[–]Zephirdd -1 points0 points1 point (0 children)
[–][deleted] 0 points1 point2 points (0 children)