(declaration *ast.Declaration)
| 2154 | } |
| 2155 | |
| 2156 | func hasTypeAnnotation(declaration *ast.Declaration) bool { |
| 2157 | return declaration != nil && declaration.Type() != nil |
| 2158 | } |
| 2159 | |
| 2160 | /** |
| 2161 | * Unlike `typeToTypeNodeHelper`, this handles setting up the `AllowUniqueESSymbolType` flag |