Skip to content

ts_project(emit_declaration_only=True) should give .d.ts in default outputs #2116

Closed

Description

@alexeagle

This feels like it matches the developer intent.

In particular, if you build a ts_project rule, it will trivially succeed with no outputs because no .js files are produced. That's pretty confusing if you meant to use it to type-check your project.

Activity

  1. DavidANeil commented on Aug 14, 2020

    @DavidANeil

    This could also be configured by checking a starlark tsconfig, if we go that route.

  2. alexeagle commented on Aug 15, 2020

    @alexeagle
    CollaboratorAuthor

    I would hope that starlark ts_config can only do the same things a tsconfig file can, otherwise the layering gets weird?

  3. added 2 commits that reference this issue on Aug 16, 2020
    aa026d7
    34a5008
  4. added a commit that references this issue on Jan 6, 2021
    726325a
  5. added a commit that references this issue on Jan 15, 2021
    9671291
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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