Skip to content

use require for buffer-layout#10

Merged
0xCactus merged 1 commit intomasterfrom
fix-bufferlayout-compilation
Dec 6, 2022
Merged

use require for buffer-layout#10
0xCactus merged 1 commit intomasterfrom
fix-bufferlayout-compilation

Conversation

@0xCactus
Copy link
Copy Markdown
Contributor

@0xCactus 0xCactus commented Dec 6, 2022

for fixing the following error

TSError: ⨯ Unable to compile TypeScript:

../public/solend-sdk/src/state/obligation.ts(3,31): error TS7016: Could not find a declaration file for module 'buffer-layout'. '/home/solend/app/node_modules/buffer-layout/lib/Layout.js' implicitly has an 'any' type.

  Try `npm i --save-dev @types/buffer-layout` if it exists or add a new declaration (.d.ts) file containing `declare module 'buffer-layout';`

adding declare module didn't help

@0xCactus 0xCactus requested a review from 0xodia December 6, 2022 01:24
@0xCactus 0xCactus merged commit 4771ba1 into master Dec 6, 2022
@0xCactus 0xCactus deleted the fix-bufferlayout-compilation branch December 6, 2022 01:32
0xripleys pushed a commit that referenced this pull request Feb 10, 2023
feat:create assetinput and sbwr components
0xodia pushed a commit that referenced this pull request Sep 9, 2024
feat:create assetinput and sbwr components
0xodia pushed a commit that referenced this pull request Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant