Skip to content

Navtree doesn't return computed class members  #54266

Closed
@jrieken

Description

@jrieken

TS Template added by @mjbvz

TypeScript Version: 4.1

Search Terms

  • navtree
  • outline

  • have the TS file below
  • open outline, breadcrumbs, or quick outline
  • 🐛 the members [State.WAIT_FOR_INPUT] and [State.INIT_UI] are missing
const enum State {
	INIT_UI = 'INIT_UI',
	WAIT_FOR_INPUT = 'WAIT_FOR_INPUT',
}

class AAAAA {

    [State.INIT_UI]() {
        return 23;
    }

    [State.WAIT_FOR_INPUT](){
        return 43;
    }

    bbbbb() {
        return 333;
    }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions