Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

missing typescript types #102

Closed
elranu opened this issue Oct 16, 2019 · 3 comments · Fixed by #111
Closed

missing typescript types #102

elranu opened this issue Oct 16, 2019 · 3 comments · Fixed by #111

Comments

@elranu
Copy link

elranu commented Oct 16, 2019

On the compiler options please add "declaration": true:
example:

{ "extends": "@ethereumjs/config-tsc", "compilerOptions": { "outDir": "./dist", "declaration": true }, "include": ["src/**/*.ts"],

@ghost
Copy link

ghost commented Oct 19, 2019

This project's tsconfig.json expands on https://github.com/ethereumjs/ethereumjs-config/blob/master/packages/ethereumjs-config-tsc/tsconfig.json which has declaration flag set to true.

However, after typing yarn add merkle-patricia-tree I don't see declaration files in node_modules/merkle-patricia-tree

@s1na
Copy link
Contributor

s1na commented Oct 21, 2019

The typescript migration has not yet been released. That's why you're not seeing the declaration files. We've been mostly busy with the istanbul HF and this has had lower priority. Will get back to it soon.

@ryanio
Copy link
Contributor

ryanio commented May 7, 2020

Thanks for your patience. The TypeScript migration will be released in v4.0.0 (#111).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants