Hi I am new to solana and i am testing my mint nft contract , while testing when i import my program using :
import { SolanaNftAnchor } from "../target/types/solana_nft_anchor";
It gives me an error: Type 'SolanaNftAnchor' does not satisfy the constraint 'Idl'. Type 'SolanaNftAnchor' is missing the following properties from type 'Idl': address, metadata
While the json in /target/idl/solana-nft-anchor.json
contains metadata and address but
/target/types/solana-nft-anchor.ts
doesnt.
anchor : 0.30.0
Program is successfully Deployed