Skip to content

Add separate compiler option for generated declarations output directory. #6723

Closed
@ylepikhov

Description

@ylepikhov

I need to make an automated building of my typescript projects. Typescript compilation results (i.e .js and .d.ts files) need further separate processing.

It would be nice if there is separate compilation option to specify output directory for generated declarations. Something like this:

//tsconfig.json
{
  "CompilerOptions": {
    ...
      "declaration": true,
      "declarationDir": "target/typings"
    ...
  }
}```

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedA PR has been merged for this issueGood First IssueWell scoped, documented and has the green lightHelp WantedYou can do thisSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions