You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/daf/examples/expressjs-ethr$ yarn build
yarn run v1.21.1
$ tsc
src/framework.ts:18:16 - error TS7016: Could not find a declaration file for module 'ws'. '/daf/examples/expressjs-ethr/node_modules/ws/index.js' implicitly has an 'any' type.
Try `npm install @types/ws` if it exists or add a new declaration (.d.ts) file containing `declare module 'ws';`
18 import ws from 'ws'
~~~~
Found 1 error.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
/daf/examples/expressjs-ethr$ yarn add @types/ws
yarn add v1.21.1
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 1 new dependency.
info Direct dependencies
└─ @types/[email protected]
info All dependencies
└─ @types/[email protected]
Done in 5.83s.
/daf/examples/expressjs-ethr$ yarn build
yarn run v1.21.1
$ tsc
Done in 6.67s.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: