GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fluent api style method chain formatting problem · Issue #5830 · microsoft/TypeScript

fluent api style method chain formatting problem #5830

New issue
Copy link
New issue
Copy link
Closed
#28340
Closed
fluent api style method chain formatting problem#5830
#28340
Copy link
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterThe issue relates to the built-in formatterFixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
TypeScript 3.2

Description

@zpdDG4gta8XKpMCd
ZpdDG4gta (zpdDG4gta8XKpMCd)
opened on Nov 30, 2015
Issue body actions

Seen in 1.8 nightly build (1.8.0-dev.20151130)

// given:
new Start()
   .then(
      true,
      false
   ).then(
      1234,
      'xyz'
   ).then(
      'abc',
      '987'
   );
// actual:
new Start()
   .then(
   true,
   false
   ).then(
   1234,
   'xyz'
   ).then(
   'abc',
   '987'
   );
// expected:
new Start()
   .then(
      true,
      false
   ).then(
      1234,
      'xyz'
   ).then(
      'abc',
      '987'
   );
Reacted by Aluan Haddad

Activity

  1. Mohamed Hegazy (mhegazy)
    added
    BugA bug in TypeScriptA bug in TypeScript
    Accepting PRs
    on Dec 1, 2015
  2. Mohamed Hegazy (mhegazy)
    added this to the This milestone has been deleted milestone on Dec 1, 2015
  3. Mohamed Hegazy (mhegazy)
    added
    Accepting PRs
    and removed
    Accepting PRs
    on Feb 20, 2016
  4. magnushiie commented on Aug 13, 2017

    @magnushiie
    Magnus Hiie (magnushiie)
    on Aug 13, 2017
    Contributor
    More actions

    Note that as described in #14675, a trailing comma causes a different (although still incorrect indentation currently):

    someVar
      .chain(
      'arg1',
      'arg2',
    )
      .chain(
      3,
      4,
    );
  5. Mohamed Hegazy (mhegazy)
    added
    Domain: FormatterThe issue relates to the built-in formatterThe issue relates to the built-in formatter
    on Nov 2, 2017
  6. Daniel Rosenwasser (DanielRosenwasser)
    closed this as completedin #28340on Nov 9, 2018
  7. Daniel Rosenwasser (DanielRosenwasser)
    added
    FixedA PR has been merged for this issueA PR has been merged for this issue
    on Nov 9, 2018
  8. Daniel Rosenwasser (DanielRosenwasser)
    modified the milestones: Community, TypeScript 3.2 on Nov 9, 2018
  9. DanielRosenwasser commented on Nov 9, 2018

    @DanielRosenwasser
    Daniel Rosenwasser (DanielRosenwasser)
    on Nov 9, 2018
    Member
    More actions

    Thanks Kagami Sascha Rosylight (@saschanaz)!

  10. microsoft
    locked as resolved and limited conversation to collaborators on Oct 22, 2025
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

    BugA bug in TypeScriptA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterThe issue relates to the built-in formatterFixedA PR has been merged for this issueA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

      Milestone

      • TypeScript 3.2

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.