Skip to content

Fix typos in comments - #128

Merged
whymarrh merged 2 commits into
MetaMask:developfrom
whymarrh:fix-doc-typos
Jul 3, 2019
Merged

whymarrh merged 2 commits into
MetaMask:developfrom
whymarrh:fix-doc-typos

Conversation

@whymarrh

Copy link
Copy Markdown
Contributor

This PR fixes a few typos found throughout the comments.

@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #128 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           develop   #128   +/-   ##
======================================
  Coverage      100%   100%           
======================================
  Files           21     21           
  Lines         1432   1432           
  Branches       194    194           
======================================
  Hits          1432   1432
Impacted Files Coverage Δ
src/network/NetworkStatusController.ts 100% <ø> (ø) ⬆️
src/ComposableController.ts 100% <ø> (ø) ⬆️
src/third-party/PhishingController.ts 100% <ø> (ø) ⬆️
src/keyring/KeyringController.ts 100% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fcdf82f...01c062d. Read the comment docs.

@whymarrh
whymarrh merged commit 29c0927 into MetaMask:develop Jul 3, 2019
@whymarrh
whymarrh deleted the fix-doc-typos branch July 3, 2019 00:53
Naz-Ovh pushed a commit to 0x-fork/metamask-core that referenced this pull request Sep 13, 2026
<!--
Thanks for your contribution! Take a moment to answer these questions so
that reviewers have the information they need to properly understand
your changes:

* What is the current state of things and why does it need to change?
* What is the solution your changes offer and how does it work?

Are there any issues or other links reviewers should consult to
understand this pull request better? For instance:

* Fixes #12345
* See: #67890
-->
The `deserialize` and `serialize` methods present wrong signatures as
they expect the `State extends Json` generic type passed to the
`Keyring` for their arguments and return value.

They now present the following signatures:
- `serialize(): Promise<Json>`
- `deserialize(state: Json): Promise<void>`

Since now the `State extends Json` generic is unused, it has been
removed from the `Keyring` type

* Fixes: MetaMask#128
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