0xSpaceShard / 0xSpaceShard/starknet-hardhat-example

Fix warnings caused by `err: any`

Aperta
#86 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
good first issue OnlyDust
Lingua principale
TypeScript
Stelle
88
Fork
29
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Some type assertion could be done that the caught errors are instances of `StarknetPluginError` (which is the custom error we are throwing from the plugin).

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Look for try-catch blocks where errors are typed as `any` in the plugin code. Identify the custom `StarknetPluginError` class. Add type guards or assertions to ensure caught errors are instances of this class. Run the TypeScript compiler to verify warnings are resolved.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
typescript
Ambito
tooling
Tipo di issue
Refactoring
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.