Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

Typing issue in v7.0.0 #85

Closed
twoeths opened this issue Jan 27, 2022 · 3 comments · Fixed by #86
Closed

Typing issue in v7.0.0 #85

twoeths opened this issue Jan 27, 2022 · 3 comments · Fixed by #86
Labels
need/triage Needs initial labeling and prioritization released

Comments

@twoeths
Copy link
Contributor

twoeths commented Jan 27, 2022

I got this typing issue Cannot find name ShardImport in v7.0.0 (not happen with v6.0.0)

Screen Shot 2022-01-27 at 10 52 19

@twoeths twoeths added the need/triage Needs initial labeling and prioritization label Jan 27, 2022
@welcome
Copy link

welcome bot commented Jan 27, 2022

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment.
Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

  • "Priority" labels will show how urgent this is for the team.
  • "Status" labels will show if this is ready to be worked on, blocked, or in progress.
  • "Need" labels will indicate if additional input or analysis is required.

Finally, remember to use https://discuss.ipfs.io if you just need general support.

@twoeths
Copy link
Contributor Author

twoeths commented Jan 27, 2022

Some logs in lodestar build:

@chainsafe/lodestar: $ tsc -p tsconfig.build.json
@chainsafe/lodestar: ../../node_modules/datastore-core/types/src/index.d.ts:20:23 - error TS2304: Cannot find name 'ShardImport'.
@chainsafe/lodestar: 20     ShardBase: typeof ShardImport.ShardBase;
@chainsafe/lodestar:                          ~~~~~~~~~~~
@chainsafe/lodestar: ../../node_modules/datastore-core/types/src/index.d.ts:21:20 - error TS2304: Cannot find name 'ShardImport'.
@chainsafe/lodestar: 21     Prefix: typeof ShardImport.Prefix;
@chainsafe/lodestar:                       ~~~~~~~~~~~
@chainsafe/lodestar: ../../node_modules/datastore-core/types/src/index.d.ts:22:20 - error TS2304: Cannot find name 'ShardImport'.
@chainsafe/lodestar: 22     Suffix: typeof ShardImport.Suffix;
@chainsafe/lodestar:                       ~~~~~~~~~~~
@chainsafe/lodestar: ../../node_modules/datastore-core/types/src/index.d.ts:23:24 - error TS2304: Cannot find name 'ShardImport'.
@chainsafe/lodestar: 23     NextToLast: typeof ShardImport.NextToLast;
@chainsafe/lodestar:                           ~~~~~~~~~~~
@chainsafe/lodestar: Found 4 errors.
@chainsafe/lodestar: error Command failed with exit code 2.

achingbrain pushed a commit that referenced this issue Jan 28, 2022
Got this error when using this in lodestar

```
@chainsafe/lodestar: $ tsc -p tsconfig.build.json
@chainsafe/lodestar: ../../node_modules/datastore-core/types/src/index.d.ts:20:23 - error TS2304: Cannot find name 'ShardImport'.
@chainsafe/lodestar: 20     ShardBase: typeof ShardImport.ShardBase;
@chainsafe/lodestar:                          ~~~~~~~~~~~
@chainsafe/lodestar: ../../node_modules/datastore-core/types/src/index.d.ts:21:20 - error TS2304: Cannot find name 'ShardImport'.
@chainsafe/lodestar: 21     Prefix: typeof ShardImport.Prefix;
@chainsafe/lodestar:                       ~~~~~~~~~~~
@chainsafe/lodestar: ../../node_modules/datastore-core/types/src/index.d.ts:22:20 - error TS2304: Cannot find name 'ShardImport'.
@chainsafe/lodestar: 22     Suffix: typeof ShardImport.Suffix;
@chainsafe/lodestar:                       ~~~~~~~~~~~
@chainsafe/lodestar: ../../node_modules/datastore-core/types/src/index.d.ts:23:24 - error TS2304: Cannot find name 'ShardImport'.
@chainsafe/lodestar: 23     NextToLast: typeof ShardImport.NextToLast;
@chainsafe/lodestar:                           ~~~~~~~~~~~
@chainsafe/lodestar: Found 4 errors.
@chainsafe/lodestar: error Command failed with exit code 2.
```

Fixes: #85
github-actions bot pushed a commit that referenced this issue Jan 28, 2022
### [7.0.1](v7.0.0...v7.0.1) (2022-01-28)

### Bug Fixes

* fix generated types to missing import ([#86](#86)) ([8805e71](8805e71)), closes [#85](#85)
@github-actions
Copy link

🎉 This issue has been resolved in version 7.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
need/triage Needs initial labeling and prioritization released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant