google/closure-compiler

Polymer pass: Warn when there is a mismatch between the type in the code and the @type

Ouverte

#1 713 ouverte le 7 avr. 2016

 (1 commentaire) (0 réaction) (1 personne assignée)Java (1 197 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (7 176 étoiles)
Métriques de merge PR
 (Merge moyen 3j 4h) (1 PR mergée en 30 j)

Description

Polymer({
    ...
    /**
     * @type {string}
     */
    someField: Number,
});

should be a warning/error.

Guide contributeur