Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: TypeScript definition file location #267

Merged
merged 1 commit into from
Aug 17, 2019
Merged

Conversation

Molunerfinn
Copy link
Contributor

The old index.d.ts no longer exists.

@tencent-adm
Copy link
Member

tencent-adm commented Jul 11, 2019

CLA assistant check
All committers have signed the CLA.

@chatoo2412
Copy link

workaround:

// typings/vconsole/index.d.ts

import 'vconsole/dist/vconsole.min.d';
// tsconfig.json

{
  // ...
  "compilerOptions": {
    // ...
    "typeRoots": ["./typings", "./node_modules/@types"]
  },
}

@Maizify Maizify merged commit dd782b7 into Tencent:dev Aug 17, 2019
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.

4 participants