Skip to content

Make sure emitted d.ts files are LF, not CRLF - #55407

Merged
Jake Bailey (jakebailey) merged 1 commit into
microsoft:mainfrom
jakebailey:lf-dts
Aug 16, 2023
Merged

Make sure emitted d.ts files are LF, not CRLF#55407
Jake Bailey (jakebailey) merged 1 commit into
microsoft:mainfrom
jakebailey:lf-dts

Conversation

@jakebailey

@jakebaileyJake Bailey (jakebailey) commented Aug 16, 2023

Copy link
Copy Markdown
Member

Embarrassingly I forgot that #55403 meant that the dprint'd d.ts bundler output are now getting the wrong newlines, which was not intentional. Make sure we actually write out the right contents...

(The reason that we dprint the bundler outputs is that they are input formatting sensitive as the bundler is very very dumb, so when we change src, we may spuriously change the bundler output. Not ideal, but now that we have a formatter I could fix that.)

@jakebailey
Jake Bailey (jakebailey) merged commit b555727 into microsoft:mainAug 16, 2023
Marcus Ording (snovader) pushed a commit to EG-A-S/TypeScript that referenced this pull request Sep 23, 2023
@microsoftMicrosoft (microsoft) locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: TeamFor Uncommitted BugPR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@jakebailey@sandersn@typescript-bot