How opaque types in Flow and TypeScript can make your code better, faster, more secure and easier to refactor. @author Charles Pick @date December 06, 2017 What’s an opaque type? In Flow and TypeScript, types are transparent by default - if two types are structurally identical they are deemed to be compatible. For example, the following types are compatible: Username and Password are both strings,