Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

[Bug Report] vuepress-types #45

Closed
Mister-Hope opened this issue May 20, 2020 · 3 comments
Closed

[Bug Report] vuepress-types #45

Mister-Hope opened this issue May 20, 2020 · 3 comments

Comments

@Mister-Hope
Copy link
Member

node_modules/vuepress-types/types/plugin.d.ts:1:17 - error TS2307: Cannot find module 'cac/types/CAC' or its corresponding type declarations.

1 import CAC from 'cac/types/CAC'

vuepress-types is depending on cac "^6.5.5", and using it in types/plugin.d.ts, but in 6.5.9, there is not any types folder.

@Mister-Hope
Copy link
Member Author

I have opened an issue at CAC because it's not exporting CAC class.

@egoist
Copy link

egoist commented May 20, 2020

You need to change it to import { CAC } from 'cac'

@Mister-Hope
Copy link
Member Author

@meteorlxy Did you forget to release it?

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

No branches or pull requests

2 participants