Skip to content

Re-export TypeScript namespaces (or at least ones with enums) #1213

Closed
@KSXGitHub

Description

@KSXGitHub

Problem

Application#bootstrap requires some enum options. I cannot provide them unless I have access to TypeScript enum objects.

Why is this a problem?

I could have added TypeScript version that TypeDoc uses to my dependency list, but that means that:

  • I have to check for which version TypeDoc uses every time I update TypeDoc.
  • I cannot use TypeScript version I desired.

Suggested Solution

Either:

  • Re-export typescript namespaces: export * as ts from 'typescript'
  • Re-export namespaces from typescript: export { ScriptTarget, ModuleKind } from 'typescript'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions