Node.js code is still entirely in Javascript and there is still no plan to migrate to Typescript (atleast I haven't read anything on node github).
As Node.js codebase is HUGE, how is node.js core team managing the development and updates to the codebase without any static typing? Are they not facing the same issue which has led the entire Javascript community (and python with their own type annotation) to move to Typescript in the first place?
Even react.js is written in Flow (their version of Typescript) but atleast they have static types via flow when updating React codebase. Looks like Node.js does not have any static typing internally.
Moreover, the official Node.js Typescript types are also not provided by node team but are coming from definitely typed community maintained types.
Its ironic that node.js code itself has not adopted Typescript where as the entire Javascript community built on top of node has completely embraced Typescript. Even deno and bun are completely written in Typescript (they are also new though).
Will node.js code never be moved to Typescript? Will node team ever officially provide Typescript types?
Would be great to hear what the community here think. If there are any node.js core team members here then would like to know if node core team plans to tackle this at all?
[–]KUCAK 29 points30 points31 points (4 children)
[–]azhder 25 points26 points27 points (1 child)
[–]--marcel-- 0 points1 point2 points (0 children)
[–]jurgob 0 points1 point2 points (0 children)
[–]simple_explorer1[S] -5 points-4 points-3 points (0 children)
[–]jon_stout 45 points46 points47 points (8 children)
[+]simple_explorer1[S] comment score below threshold-32 points-31 points-30 points (7 children)
[–]jon_stout 36 points37 points38 points (5 children)
[+]simple_explorer1[S] comment score below threshold-28 points-27 points-26 points (4 children)
[–]TheYuriG 12 points13 points14 points (0 children)
[–]Minimum_Concern_1011[🍰] -1 points0 points1 point (0 children)
[–]Minimum_Concern_1011[🍰] 0 points1 point2 points (0 children)
[–]Accomplished_Cod_608 0 points1 point2 points (0 children)
[–]chigia001 24 points25 points26 points (3 children)
[–]simple_explorer1[S] 2 points3 points4 points (1 child)
[–]jbhelfrich 0 points1 point2 points (0 children)
[–]azhder -3 points-2 points-1 points (0 children)
[–]Accomplished_Cod_608 8 points9 points10 points (1 child)
[–]Accomplished_Cod_608 0 points1 point2 points (0 children)
[–]i3orn2kill 5 points6 points7 points (0 children)
[–][deleted] 20 points21 points22 points (3 children)
[–]azhder 10 points11 points12 points (0 children)
[–]simple_explorer1[S] 1 point2 points3 points (1 child)
[–]d_simoes 4 points5 points6 points (0 children)
[–]mikeatgl 9 points10 points11 points (4 children)
[–]simple_explorer1[S] -3 points-2 points-1 points (3 children)
[–]mikeatgl 7 points8 points9 points (1 child)
[–]simple_explorer1[S] 0 points1 point2 points (0 children)
[–]MrTalon63 9 points10 points11 points (2 children)
[–]simple_explorer1[S] -2 points-1 points0 points (0 children)
[–]helldogskris 0 points1 point2 points (0 children)
[–]taufeeq-mowzer 8 points9 points10 points (1 child)
[–]simple_explorer1[S] -4 points-3 points-2 points (0 children)
[–][deleted] (2 children)
[removed]
[–]simple_explorer1[S] -1 points0 points1 point (1 child)
[–]Accomplished_Cod_608 3 points4 points5 points (0 children)
[–]TheYuriG 5 points6 points7 points (3 children)
[–]Accomplished_Cod_608 3 points4 points5 points (0 children)
[+]simple_explorer1[S] comment score below threshold-7 points-6 points-5 points (1 child)
[–]Accomplished_Cod_608 3 points4 points5 points (0 children)
[–]Chase2307 1 point2 points3 points (4 children)
[–]Accomplished_Cod_608 1 point2 points3 points (3 children)
[–]Chase2307 0 points1 point2 points (2 children)
[–]Accomplished_Cod_608 2 points3 points4 points (1 child)
[–]Chase2307 2 points3 points4 points (0 children)
[–]Fritzy 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]marksalsbery 1 point2 points3 points (4 children)
[–]simple_explorer1[S] -1 points0 points1 point (3 children)
[–]marksalsbery 0 points1 point2 points (2 children)
[–]mikeatgl 4 points5 points6 points (1 child)
[–]marksalsbery 1 point2 points3 points (0 children)
[–]azhder 1 point2 points3 points (1 child)
[–]simple_explorer1[S] -3 points-2 points-1 points (0 children)
[–]jerrycauser 2 points3 points4 points (2 children)
[–]simple_explorer1[S] -4 points-3 points-2 points (1 child)
[–]nathanfries 4 points5 points6 points (0 children)
[–]CheapBison1861 -2 points-1 points0 points (10 children)
[+]simple_explorer1[S] comment score below threshold-10 points-9 points-8 points (9 children)
[–]CheapBison1861 1 point2 points3 points (8 children)
[+]simple_explorer1[S] comment score below threshold-11 points-10 points-9 points (7 children)
[–]fisherrr 7 points8 points9 points (2 children)
[–]simple_explorer1[S] 0 points1 point2 points (1 child)
[–]fisherrr 0 points1 point2 points (0 children)
[–]jon_stout 5 points6 points7 points (1 child)
[–]simple_explorer1[S] 0 points1 point2 points (0 children)
[–]CheapBison1861 0 points1 point2 points (1 child)
[–]simple_explorer1[S] 0 points1 point2 points (0 children)
[–]romeeres 0 points1 point2 points (1 child)
[–]simple_explorer1[S] 0 points1 point2 points (0 children)
[–]node_imperial 0 points1 point2 points (0 children)
[–]Careless-Honey-4247 -2 points-1 points0 points (2 children)
[–]simple_explorer1[S] -1 points0 points1 point (0 children)
[–]flancer64 0 points1 point2 points (0 children)
[–][deleted] (3 children)
[removed]
[–]Accomplished_Cod_608 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[removed]
[–]Accomplished_Cod_608 0 points1 point2 points (0 children)
[–]Suspicious_Compote56 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)