GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing www.typescriptlang.org — JavaScript With Syntax For Types. TypeScript is JavaScript with syntax for types.TypeScript is a strongly typed programming language that builds on JavaScript, giving you better tooling at any scale.
TypeScript 7.0 is now available, 7.1 is currently in beta. What is TypeScript?JavaScript and MoreTypeScript adds additional syntax to JavaScript to support a tighter integration with your editor. Catch errors early in your editor. A Result You Can TrustTypeScript code converts to JavaScript, which runs anywhere JavaScript runs: In a browser, on Node.js, Deno, Bun and in your apps. Safety at ScaleTypeScript understands JavaScript and uses type inference to give you great tooling without additional code. Adopt TypeScript GraduallyApply types to your JavaScript project incrementally, each step improves editor support and improves your codebase. Let's take this incorrect JavaScript code, and see how TypeScript can catch mistakes in your editor.
No editor warnings in JavaScript files JavaScript file
Adding this to a JS file shows errors in your editor the param is arr, not orr! JavaScript with TS Check
Using JSDoc to give type information Now TS has found a bad call. Arrays have slice, not trim. JavaScript with JSDoc
TypeScript adds natural syntax for providing types TypeScript file Describe Your DataDescribe the shape of objects and functions in your code. Making it possible to see documentation and issues in your editor.
TypeScript becomes JavaScript via the delete key.
TypeScript file.
Types are removed.
JavaScript file. TypeScript TestimonialsFirst, we were surprised by the number of small bugs we found when converting our code. Second, we underestimated how powerful the editor integration is. TypeScript was such a boon to our stability and sanity that we started using it for all new code within days of starting the conversion. Felix Rieseberg at Slack covered the transition of their desktop app from JavaScript to TypeScript in their blog ReadLoved by DevelopersVoted 2nd most loved programming language in the Stack Overflow 2020 Developer survey TypeScript was used by 78% of the 2020 State of JS respondents, with 93% saying they would use it again. TypeScript was given the award for “Most Adopted Technology” based on year-on-year growth. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |