Skip to content

namespace + value not working #2069

@unional

Description

@unional

Search terms

namespace

Expected Behavior

export namespace foo {
  export type Options = { a: number }
}

export function foo(options: foo.Options) {
}

This should both namespace and function.

Actual Behavior

It generates namespace only.

Steps to reproduce the bug

https://github.com/unional/typedoc-repros

Environment

  • Typedoc version: 0.23.15
  • TypeScript version: 4.8.4
  • Node.js version: 16.16.0
  • OS: Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    no bugThis is expected behavior

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions