X Tutup
Skip to content

chore(typings): remove StringMap#4487

Closed
alexeagle wants to merge 2 commits intoangular:masterfrom
alexeagle:stringmap
Closed

chore(typings): remove StringMap#4487
alexeagle wants to merge 2 commits intoangular:masterfrom
alexeagle:stringmap

Conversation

@alexeagle
Copy link
Copy Markdown
Contributor

This was a poorly typed attempt to mimic TypeScript's index signatures,
which we can use instead.
This eliminates a very strange type that we were exposing to users, but
not re-exporting through our public API.

Fixes #4483

@alexeagle alexeagle added the action: review The PR is still awaiting reviews from at least one requested reviewer label Oct 2, 2015
@mhevery
Copy link
Copy Markdown
Contributor

mhevery commented Oct 2, 2015

use key instead of k LGTM otherwise

@mhevery mhevery added pr_state: LGTM action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Oct 2, 2015
@mhevery mhevery assigned alexeagle and unassigned mhevery Oct 2, 2015
This was a poorly typed attempt to mimic TypeScript's index signatures,
which we can use instead.
This eliminates a very strange type that we were exposing to users, but
not re-exporting through our public API.

Fixes angular#4483
Note that the previous type of StringMap was overly permissive and didn't catch errors.
Also we have to explicitly type empty objects, which is explained here:
microsoft/TypeScript#5089
@alexeagle alexeagle added action: merge The PR is ready for merge by the caretaker and removed action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Oct 3, 2015
@mary-poppins
Copy link
Copy Markdown

Merging PR #4487 on behalf of @alexeagle to branch presubmit-alexeagle-pr-4487.

@mary-poppins mary-poppins removed the action: merge The PR is ready for merge by the caretaker label Oct 3, 2015
@alexeagle alexeagle closed this in 208f3d4 Oct 3, 2015
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove StringMap

4 participants

X Tutup