The Wayback Machine - https://web.archive.org/web/20201115020709/https://github.com/Tencent/vConsole/pull/267
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

fix: TypeScript definition file location #267

merged 1 commit into from Aug 17, 2019

Conversation

@Molunerfinn
Copy link
Contributor

@Molunerfinn Molunerfinn commented Jul 11, 2019

The old index.d.ts no longer exists.

@tencent-adm
Copy link

@tencent-adm tencent-adm commented Jul 11, 2019

CLA assistant check
All committers have signed the CLA.

@chatoo2412
Copy link

@chatoo2412 chatoo2412 commented Aug 5, 2019

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
1 check passed
1 check passed
license/cla Contributor License Agreement is signed.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
4 participants
You can’t perform that action at this time.