Open

Description
TypeScript Version: 3.1.0-dev.20180725
Code
/**
* @typedef {object} I
* @property {number} m
*/
/** @returns {I} */
function f() { return { x: 0 }; }
const x = f();
x.
Expected behavior:
Get completion for m
only.
Actual behavior:
Get completions for I
, f
, and x
. None of which are properties.