raydium-io/raydium-sdk

Not pass compile, report "Type parameter declaration expected.";

Opened this issue · 0 comments

Error

node_modules/@solana/codecs-data-structures/dist/types/data-enum.d.ts:72:44 - error TS1139: Type parameter declaration expected.

The code

    const accountInfo =await solanaConnection.getAccountInfo(poolPublicKey,'confirmed');
    const poolState = LIQUIDITY_STATE_LAYOUT_V4.decode(accountInfo.data);

Error in compile the project

npm tsc