Change with type to overload by goodmind · Pull Request #377 · mozilla/source-map · GitHub
Skip to content

Change with type to overload#377

Open
goodmind wants to merge 1 commit into
mozilla:masterfrom
goodmind:patch-1
Open

Change with type to overload#377
goodmind wants to merge 1 commit into
mozilla:masterfrom
goodmind:patch-1

Conversation

@goodmind

@goodmind goodmind commented Feb 6, 2019

Copy link
Copy Markdown

Should this be like this?

@coveralls

coveralls commented Feb 6, 2019

Copy link
Copy Markdown

Comment thread source-map.d.ts
Comment on lines +239 to 241

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is confusing. I might see an improvement if you were removing the 3rd line 241.
So that we either type rawSourceMap as RawSourceMap or as RawIndex, but as-is the last line still allow mixed types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants