Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
This repository was archived by the owner on May 22, 2025. It is now read-only.

File issue against Polymer's closure plugin to support more jsdoc cases #529

Closed
@tbosch

Description

@tbosch

E.g. the transformer version of tsickle emits this code:
Given:

/**
  * @polymerBehavior
  */
const humeAutocompleteBehaviorImpl = ...;

Emitted Closure JS code:

/**
  * @polymerBehavior
  */
const /** @type {?} */ humeAutocompleteBehaviorImpl = ...;

This leads to the error ERROR - Behavior declarations must be annotated with @polymerBehavior.. Looking at the code in Closure, this id because the check looks at the nearest jsdoc comment, which is now /** @type {?} */.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions