InfoQ Homepage TypeScript Content on InfoQ
-
Bloomberg Engineering Share Experiences of Adopting TypeScript across a Large Codebase
Rob Palmer, JavaScript infrastructure and tooling lead at Bloomberg, recently shared a few learning points and insights from the adoption of TypeScript at scale at Bloomberg. While some learning points are specific to Bloomberg’s custom runtime, others may be valuable across any large codebase switching to TypeScript.
-
Cypress 5.x Adds Test Retries and Shadow DOM Support
Cypress, a browser-based test runner and dashboard, recently introduced native support for test retries in the Cypress 5.0 release, helping developers avoid intermittent test failures. Other recent Cypress advances include networking stubbing and shadow DOM support.
-
NativeScript 7 Moves from ES5 to ES2017+
NativeScript 7 aligns with modern JavaScript standards by targeting es2017+. Additionally, it streamlines app configuration by consolidating it in a single file and replaces JavaScriptCore with V8 for iOS apps.
-
Airbnb Releases Tool to Convert Large Codebases to Typescript
The Airbnb engineering team recently released ts-migrate, a tool to help migrate JavaScript code to TypeScript. While the resulting TypeScript code will compile, manual revision of a few annotations (e.g. any) will still be necessary. An automated process may however be more productive than starting from scratch. The Airbnb team reports converting projects with over 50,000 lines of code in a day.
-
TypeScript 4.0 Adds Long-Awaited Variadic Tuple Types
The TypeScript team announced the release of TypeScript 4.0, which includes long-awaited variadic tuple type support and other improvements without introducing any major breaking changes.
-
Next.js 9.5 Improves Static Site Regeneration Performance
Next.js, the open-source React-based framework from Vercel, adds several static site generation performance improvements in the Next.js 9.5 release. The release also allows developers to optionally opt-in to Webpack 5 beta for smaller and faster builds.
-
Svelte Adds Official TypeScript Support
The Svelte JavaScript framework leverages TypeScript, but until recently, it was challenging to use TypeScript to create Svelte web apps. The latest Svelte updates add official TypeScript support to Svelte.
-
Ionic Capacitor 2 Improves Mobile Authentication and Cross-Domain HTTPS
The recent Ionic Capacitor 2 release updates the underlying Swift, XCode, and Android versions, adds Face Unlock and Iris Unlock, improves the core Capacitor plugins, and simplifies cross-domain HTTPS requests.
-
Cloud Development Kit Can Now Generate Terraform Configurations Using TypeScript and Python
AWS, HashiCorp, and Terrastack collaborated to release a preview of the CDK for Terraform, or cdktf. Developers can use programming languages like Python or Typescript to manage infrastructure as code. cdktf generates a Terraform configuration in JSON. Also, cdktf supports any existing modules and providers from the Terraform registry to deploy resources to AWS, Azure, or Google Cloud.
-
Fastify 3.0 Improves Performance, Logging, Schema, and TypeScript Support
Fastify is an open-source, low-performance overhead Node.js web framework. Fastify version 3 introduces support for running Express applications inside Fastify, adds improvements to logging serialization and schema substitution, and provides better TypeScript definition support.
-
Esbuild JavaScript Bundler Claims 10-100x Faster Bundling Time
esbuild, a JavaScript bundler and minifier, seeks to bring order-of-magnitude speed improvements in the JavaScript bundling and minification process. esbuild achieves its speed by being written in Go compiled to native code, parallelizing tasks to leverage multi-core processors , and minimizing data transformations.
-
ESLint 7.0, 7.1, 7.2 Releases Improve Developer Experience and ES2020 Support
The recent ESLint 7.0, 7.1, and 7.2 releases introduce numerous developer experience improvements, remove support for Node.js version 8, and add support for ES2020 features. typescript-eslint also has several recent releases, aligning with ESLint releases and updates to TypeScript.
-
Deno Is Ready for Production
Deno, a secure runtime for JavaScript and TypeScript, has reached version 1.0. Written in Rust, Deno addresses many design problems in Node.js, but it also faces challenges in developer adoption.
-
TypeScript 3.9 Improves Performance, Promises and Errors
The TypeScript team announced the release of TypeScript 3.9, which includes improvements in inference with Promise.all, compiler checking speed, the @ts-expect-error comment, and more in the final major version before TypeScript 4.0.
-
Hegel, a New JavaScript Type Checker
JavaScript has a new type checker. Hegel strives to be an advanced static type checker for JavaScript. Hegel claims to provide a sound type system with strong type inference. It is still in alpha and can be experimented with in a dedicated online playground.