* Add test * Skip shorthand property assignments of module.exports in go-to-definition * Skip past shorthand property assignments in module.exports in go-to-definition * Revert WIP change * Fix comment typo Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
14 lines
260 B
TypeScript
14 lines
260 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
// @allowJs: true
|
|
|
|
// @Filename: util.js
|
|
//// class /*2*/Util {}
|
|
//// module.exports = { Util };
|
|
|
|
// @Filename: index.js
|
|
//// const { Util } = require('./util');
|
|
//// new [|Util/*1*/|]()
|
|
|
|
verify.goToDefinition("1", "2");
|