Skip to content

Improve JSDocs by adding examples of usages #1090

@ivpavici

Description

@ivpavici

Inspired by Viem docs, example:

https://viem.sh/docs/accounts/privateKey#usage

This is a big endeavor so it can be completed in multiple smaller PR-s (and more users can take it in parallel!)

IMPORTANT: add @example only to exported functions

TODO utils:

  • src/utils/calldata/validate
  • src/utils/calldata/formatter
  • src/utils/calldata/propertyOrder
  • src/utils/calldata/requestParser
  • src/utils/calldata/responseParser
  • src/utils/calldata/tuple
  • src/utils/calldata/parser/index.ts
  • src/utils/events/index.ts
  • src/utils/hash/classHash.ts
  • src/utils/hash/transactionHash/v3.ts

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions