DEV Community

Ramiro for Auth0

Posted on • Edited on • Originally published at auth0.com

TypeScript 3.0: Exploring Tuples and the Unknown Type

TypeScript 3.0 is out! It comes with enhancements for the type system, compiler, and language service. This release is shipping with the following:

  • Project references let TypeScript projects depend on other TypeScript projects by allowing tsconfig.json files to reference other tsconfig.json files.

  • Support for defaultProps in JSX.

  • Tuples in rest parameters and spread expressions with optional elements.

  • New unknown top type! It's the type-safe counterpart of any.

For this blog post, we are going to focus on the enhancements made to tuples and the unknown type!

Read on 🏙

TypeScript 3.0: Exploring Tuples and the Unknown Type

Top comments (0)