13e1ccdd01
* goto-def:special handling for constructor functions * Just treat constructor functions like functions * Even simpler fallback
15 lines
346 B
TypeScript
15 lines
346 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
// @allowJs: true
|
|
// @checkJs: true
|
|
// @noEmit: true
|
|
// @filename: gotoDefinitionConstructorFunction.js
|
|
//// function /*end*/StringStreamm() {
|
|
//// }
|
|
//// StringStreamm.prototype = {
|
|
//// };
|
|
////
|
|
//// function runMode () {
|
|
//// new [|/*start*/StringStreamm|]()
|
|
//// };
|
|
|
|
verify.goToDefinition('start', 'end')
|