Hacker GitHub

← All repos

microsoft/TypeScript

View on GitHub ↗ ★ 111,716 Go

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

617 mentions on Hacker News by 467 people: 78 stories, 539 comments · first 2014-07-23 · latest 2026-10-20

Mentions per year 617 mentions · busiest year 2022 (79)
20082026
  1. I don't understand what you are referring to - the TypeScript compiler has 0 (non-dev) dependencies: https://github.com/microsoft/TypeScript/blob/main/package.js... .
    comment by paavohtl · 2022-10-09 · in TypeScript is now officially 10 years old
  2. …You can snipe all you want, but if you think it’s that easy to resolve maybe I can direct you to https://github.com/microsoft/TypeScript/pulls I’m not affiliated with the team in any way but I’m almost totally certain they’d welcome a…
    comment by eyelidlessness · 2022-10-02 · in Ten Years of TypeScript
  3. …code” principle mentioned in this article). Here’s a good summary of the problems this causes: https://github.com/microsoft/TypeScript/issues/42151 I’m curious, how many people are using TSC only for type-checking, and a different system…
    comment by iainmerrick · 2022-10-01 · in Ten Years of TypeScript
  4. …yet, as you have no way to test whether `property in unknown` or not. Well, until this is released! https://github.com/microsoft/TypeScript/pull/50666
  5. The type system is Turing-complete, after all… https://github.com/Microsoft/TypeScript/issues/14833
  6. …- https://github.com/typescript-eslint/typescript-eslint/issue... - https://github.com/microsoft/TypeScript/issues/21732 - https://github.com/microsoft/TypeScript/pull/50666
  7. Why yes it is: https://github.com/microsoft/TypeScript/issues/14833
  8. …The original bug against Typescript was opened in 2016 as well: https://github.com/microsoft/TypeScript/issues/11274
  9. …LSP support is not a priority (in part because LSP is inadequate in its current form): https://github.com/microsoft/TypeScript/issues/39459
  10. And the type checker is a single 45k line file! https://github.com/microsoft/TypeScript/blob/main/src/compil...
  11. …It's clean, easy on the eyes with well placed white space and just the right amount of comments. https://github.com/microsoft/TypeScript/blob/main/src/compil...
  12. …Javascript Engine - https://github.com/bellard/quickjs The TypeScript language and compiler - https://github.com/microsoft/TypeScript
  13. …just be a semantic checker on top of JS and nothing more. This has been mentioned more than once: https://github.com/microsoft/TypeScript/issues/9202#issuecom... https://github.com/microsoft/TypeScript/issues/10386#issueco...…
    comment by maxgraey · 2022-08-25 · in From a WebAssembly Perspective
  14. Oracle Types did just that (although it was an April Fools joke), it was quite fun to play with. https://github.com/microsoft/TypeScript/pull/43480
    comment by webstrand · 2022-08-25 · in Can Types Replace Validation?
  15. …> A typescript specification What does this mean? We have a pretty clear typescript spec[1]. [1] https://github.com/microsoft/TypeScript/blob/main/doc/spec-A...
  16. …by using project references, but not going to downplay that it's an annoying refactor to do ( https://github.com/microsoft/TypeScript-Handbook/blob/master... ) - All of the problems with trpc are inherent of any ts thing that is heavilily…
    comment by alexdotjs · 2022-08-15 · in Blitz.js – Fullstack Toolkit for Next.js
  17. …that is in scope for Javascript itself until the syntax has formally reached a stable state (see: https://github.com/Microsoft/TypeScript/issues/2103#issuecom... ) - so we're far from having a pure operator for this. But `pipe((n: number)…
  18. …checking. Replacing it with the individual packages almost completely eliminated that overhead. [0] https://github.com/microsoft/TypeScript/wiki/Performance#per... [1] https://user-images.githubusercontent.com/2109932/176479729-...
  19. ¯\_(ツ)_/¯ used to build Typescript: https://github.com/microsoft/TypeScript/blob/main/Gulpfile.j...
  20. …giving types a runtime footprint is on the official list of non-goals for the TypeScript project: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Desi...
  21. TS type system is Turing complete. https://github.com/microsoft/TypeScript/issues/14833
  22. …- which had equally different, but equally frustrating problems. The ecosystem is a disaster. [1] https://github.com/microsoft/TypeScript/issues/40878
  23. arcanis has a PR to patch up the issue that's sat for a year plus now. https://github.com/microsoft/TypeScript/issues/43632 > In addition, if you want to have your app load as smaller chunks rather than a single large bundle, you need to…
    comment by kitten_mittens_ · 2022-07-02 · in The new wave of React state management
  24. …need to be careful to ensure that things work even all the backing reducers aren't yet loaded. 1. https://github.com/microsoft/TypeScript/issues/32523
    comment by etimberg · 2022-07-02 · in The new wave of React state management
  25. …experiment works out and that it gains traction, because it's a massive value add to TS IMO. [0] https://github.com/microsoft/TypeScript/issues/47658
    comment by davidatbu · 2022-06-27 · in What's New in Python 3.11?
  26. …and then decided to publish it publicly. Here is the thread that describes the problem further: https://github.com/microsoft/TypeScript/issues/13618 I hope it can be helpful for someone. I also would like to hear if my approach has been…
  27. …deepkit.io/blog/introducing-deepkit-framework and in very detail in the TypeScript Bytecode proposal: https://github.com/microsoft/TypeScript/issues/47658 . Soon in a new doc/ebook it is explained in great detail how it works and the API…
  28. …blog was published[0]. I do thank you for pointing that out though, as it's totally relevant. [0] https://github.com/microsoft/TypeScript/pull/33294
  29. …it (always/sometimes?) assumes function calls won't affect the results of type narrowing tests: https://github.com/microsoft/TypeScript/issues/9998
    comment by peterkelly · 2022-05-14 · in Java record pattern matching in JDK 19
  30. …loper.mozilla.org/en-US/docs/Web/JavaScript/Refe... 1 - https://exploringjs.com/es6/ch_async.html 2 - https://github.com/microsoft/TypeScript/issues/6283#issuecom...
  31. …it in case anyone is looking to use this feature and might hit the same issues. The TS issue is https://github.com/microsoft/TypeScript/issues/47945 if you'd like to see more details.
  32. …by MS) is not an LSP server. There is an open issue [1] that has been open since 2020. [1] https://github.com/microsoft/TypeScript/issues/39459
    comment by lf-non · 2022-04-25 · in Why LSP?
  33. …types (which is why one could argue to not implement them), but it's interesting nonetheless. [1]: https://github.com/microsoft/TypeScript/issues/43505
    comment by nikeee · 2022-04-22 · in TypeScript and Set Theory
  34. …packages as dependended on by public repos. For instance, the repos that depend on Typescript: https://github.com/microsoft/TypeScript/network/dependents?p... There's often less tooling available for private repository hosts and private…
    comment by WorldMaker · 2022-04-07 · in Advantages of Monorepos (2015)
  35. TypeScript's checker.ts is a 2.65 MB file containing 44,932 lines at the moment. https://github.com/microsoft/TypeScript/blob/main/src/compil... Does anyone know why and how they maintain it?
    comment by scoresmoke · 2022-04-03 · in A project with a single 11,000-line code file
  36. …types. Will the standardisation of type annotations impose further constraints on typescript? [0] - https://github.com/microsoft/TypeScript/wiki/Roadmap#future
  37. …TypeScript and now I don't want to touch the stuff. TS is much more ergonomic and expressive. [1]: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Desi...
    comment by neurotrace · 2022-03-09 · in A Proposal for Type Syntax in JavaScript
  38. …(and the compiler) way more complex and difficult. GitHub issue about the Turing completeness: https://github.com/microsoft/TypeScript/issues/14833 Proof of Turing completeness: https://gist.github.com/hediet/63f4844acf5ac330804801084f87a..…
    comment by ReleaseCandidat · 2022-02-02 · in An introduction to type programming in TypeScript
  39. …[0] as a NPM build with: "typescript": "npm:@typescript-deploys/pr-build@4.6.0-pr-43617-23" [0] https://github.com/microsoft/TypeScript/pull/43617
  40. …The Typescript compiler performance wiki might also be of interest: https://github.com/microsoft/TypeScript/wiki/Performance
  41. …hints that they might move towards more parallel processing but it requires a lot of major changes https://github.com/microsoft/TypeScript/issues/30235
  42. …the same ~38,000 files in this directory from the test cases, you're pretty much on par with tsc: https://github.com/microsoft/TypeScript/tree/main/tests/base...
  43. Related: https://github.com/microsoft/TypeScript/issues/42813
    comment by AbuAssar · 2022-01-25 · in Deno in 2021
  44. …gist.github.com/sindresorhus/a39789f98801d908bbc7ff3... And for the problems with esm and TypeScript: https://github.com/microsoft/TypeScript/issues/46452
  45. …really ugly. I hope somebody will make at least a babel plugin or something to allow that. [1]: https://github.com/microsoft/TypeScript/issues/6936
    comment by captainmuon · 2022-01-21 · in TypeScript Features to Avoid
  46. …as your example. From the language goals > 4. Emit clean, idiomatic, recognizable JavaScript code. https://github.com/Microsoft/TypeScript/wiki/TypeScript-Desi...
    comment by donatj · 2022-01-20 · in TypeScript Features to Avoid
  47. …with TypeScript's design goals. Specifically, the one to: > Avoid adding expression-level syntax. https://github.com/Microsoft/TypeScript/wiki/TypeScript-Desi... And that makes sense to me. IMHO it's best to consider TypeScript as a tool…
    comment by Vinnl · 2022-01-20 · in TypeScript Features to Avoid
  48. …going for. It's pretty what TypeScript's going for though: > Avoid adding expression-level syntax. https://github.com/Microsoft/TypeScript/wiki/TypeScript-Desi...
    comment by Vinnl · 2022-01-20 · in TypeScript Features to Avoid
  49. I really don’t remember, sorry. I just scanned through https://github.com/Microsoft/TypeScript/wiki/Breaking-Change... and nothing jogged my memory; I’m wondering if it actually was something to do with decorators, though I still think…
    comment by chrismorgan · 2022-01-20 · in TypeScript Features to Avoid
  50. …types in languages like Rust: - https://stackoverflow.com/questions/40275832/typescript-has-... - https://github.com/microsoft/TypeScript/issues/32690 In a TS codebase I'm currently working on, we have the policy of never using "plain" TS…
    comment by dbrgn · 2022-01-20 · in TypeScript Features to Avoid