MetaMask / MetaMask/snaps

Fix TypeScript type issues in examples

Open
#2,828 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
853
Forks
662
Avg merge
2d 8h
Merged PRs (30d)
8

Description

After adding type checking to examples through #2783, we've uncovered multiple types issues. Due to the size of that PR, they weren't fixed immediately.

There are multiple cast to `unknown` in the examples which should be fixed.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the examples and the type-checking changes introduced in #2783, then locate the casts to `unknown`. Done means the example type issues are resolved and the examples pass type checking without the unnecessary casts.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.