Closed p-bakker closed 9 years ago
Sample:
/**
* @type {Boolean}
*/
var test
test = 'hello' //Raise warning
To support this issue, I need the following PR https://github.com/marijnh/tern/pull/525 to know tha type comes from comment.
See https://github.com/angelozerr/tern-lint/wiki/Validation-JSDoc for configuration of JSDoc
Produce a builder marker when a variable gets assigned a value of a type that is not the same as the type defined in the JSDoc