Skip to content

Is it possible to list members of a class which is returned by a function in the symbol palette? #38785

Closed
@wayou

Description

@wayou

TS Template added by @mjbvz

TypeScript Version: 3.9.3

Search Terms

  • navtree
  • document outline

Sample code:

export default (args: MyArgs) => {
	return class Foo {
		blah(){
			//
		}
	}
}

Command + Shift + O open the Go to Symbol in Editor... and there's only the default showing:

image

Is it possible to list the member of the inner class returned by the function?

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: OutliningRelates to multi-line regions that editors can collapse

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions