Some JavaScript/TypeScript libraries use JSDoc which uses {} in the comments to describe the tag's type.
Double handlebars are created when objects are used as a type. This is parsed and causes an error.
For example:
/**
* @return {{s:string,n:number}}
*/