We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error
Using isAddress in a typescript environment inside a condition throws es-lint warning Unsafe call of a(n) `error` type typed value.
Unsafe call of a(n) `error` type typed value.
import { isAddress } from "@solana/web3.js";
if (isAddress("any_solana_address")) { // do something }
I hope to see no warning since the method should return a boolean or correctly document how to call it and get a value.
The text was updated successfully, but these errors were encountered:
console.log(isAddress)
isAddress
Sorry, something went wrong.
No branches or pull requests
Overview
Using isAddress in a typescript environment inside a condition throws es-lint warning
Unsafe call of a(n) `error` type typed value.
Steps to reproduce
Description of bug
I hope to see no warning since the method should return a boolean or correctly document how to call it and get a value.
The text was updated successfully, but these errors were encountered: