Add a better test for jsdoc index signatures.

The test case shows that the errorenous error no longer appears.
This commit is contained in:
Nathan Shively-Sanders 2017-10-18 13:06:15 -07:00
parent c13506e70c
commit 2473ffcaac

View File

@ -8,3 +8,8 @@ var o1;
var o2;
/** @type {Object.<boolean, string>} */
var o3;
/** @param {Object.<string, boolean>} o */
function f(o) {
o.foo = 1; // error
o.bar = false; // ok
}