Type specifications separate the name from the definition using `::`. Replace `:` with `::`.
@type name: definition
Replace the `:` with ` ::`
@type name :: definition