/// // Classes have their shape inferred from assignments // to properties of 'this' in the constructor // @allowNonTsExtensions: true // @Filename: Foo.js //// class Foo { //// constructor() { //// /** //// * @type {string} //// */ //// this.baz = null; //// } //// } //// var x = new Foo(); //// x/**/ goTo.marker(); edit.insert('.baz.'); verify.completions({ includes: { name: "substr", kind: "method", kindModifiers: "declare" } });