docs: fix typos in jsdoc comments and one error message#5136
Open
0xAxiom wants to merge 1 commit into
Open
Conversation
Pure typo fixes in src.ts (build artifacts in lib.esm/lib.commonjs will be regenerated): - abi/interface.ts: "the the Contract with the sepcified" -> "the Contract with the specified" - abi/fragments.ts: "wich" -> "which", "frgament" -> "fragment" (jsdoc + assertArgument message) - contract/wrappers.ts: "occured" -> "occurred" (3x in EventPayload jsdoc) - providers/abstract-signer.ts: "teh" -> "the" - providers/provider-fallback.ts: "occured" -> "occurred" - providers/default-provider.ts: "gaurantee" -> "guarantee", "qorum" -> "quorum" No code/behavior changes other than the assertArgument error message text (also a typo fix).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pure typo fixes in
src.ts/(no behavior change — build artifacts inlib.esm/andlib.commonjs/are regenerated by the build, so they were left alone here).Changes
abi/interface.ts"the the Contract with the sepcified"→"the Contract with the specified"abi/fragments.ts"wich"→"which","frgament"→"fragment"(jsdoc + oneassertArgumenterror message)contract/wrappers.ts"occured"→"occurred"(×3 inContractUnknownEventPayloadjsdoc)providers/abstract-signer.ts"teh"→"the"providers/provider-fallback.ts"occured"→"occurred"providers/default-provider.ts"gaurantee"→"guarantee","qorum"→"quorum"11 typos across 6 files; +11/-11 lines.
The only non-comment change is the
assertArgument(false, "unsupported frgament object", ...)message infragments.ts— flagging in case the exact error string is asserted on anywhere downstream (a quick search in this repo shows it isn't), happy to drop that one if preferred.Commit is GPG-signed.