Type Annotation
A type annotation is simply the type we put after the :
when defining a variable or expression.
let value: String
In this example String
is the type annotation.
typealias typeAnnotation = String
let value: typeAnnotation
< All Posts