Skip to content

@Option decorators not working for custom plugins #1165

@socsieng

Description

@socsieng

Expected Behavior

Plugins using @Option decorator should have their options registered like they used to in version 0.15.8.

Actual Behavior

@Options aren't registered.

Steps to reproduce the bug

# uses typescript 0.16.1
git clone https://github.com/socsieng/typedoc-options-example.git
cd typedoc-options-example
npm install
npm run example

# unexpected - outputs: has declaration false

# uses typescript 0.15.8
git checkout v15
npm install
npm run example

# expected outputs: has declaration true

Environment

  • Typedoc version: 0.16.0
  • Node.js version: 8.16.0
  • OS: macOS Catalina 10.15.1 (19B88)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions