google/closure-compiler

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

Open

#1,713 创建于 2016年4月7日

在 GitHub 查看
 (1 评论) (0 反应) (1 负责人)Java (1,197 fork)batch import
enhancementhelp wanted

仓库指标

Star
 (7,176 star)
PR 合并指标
 (平均合并 12天 15小时) (30 天内合并 1 个 PR)

描述

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

should be a warning/error.

贡献者指南