Skip to main content

Javascript

TypeScript for Java Developers: The 'unknown' Type

·4 mins

TypeScript 3.0 introduced the unknown type, which is described as being: “Like any, but type-safe”. This is an exploration of what that means in the Javascript and TypeScript ecosystems. and how that can be compared to strongly-typed languages like Java.