Skip to content

How would one transform emitted .d.ts files? #1222

Closed
@resynth1943

Description

@resynth1943

Expected Behaviour

The emitted .d.ts files go through the transformers listed within getCustomTransformers.

Actual Behaviour

They don't.

Steps to Reproduce the Problem

  • Use ts-loader to compile a TypeScript project.
  • Set your tsconfig to emit declaration files.
  • Add a transformer within ts-loader's getCustomTransformers option.
  • The .d.ts files don't go through the transformer.

Location of a Minimal Repository that Demonstrates the Issue.

Don't have one right now. If this is requested, I'll make one.


Is this intended behaviour?
Would appreciate any help you can give me if it's not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions