Reputation: 6707
My package in DefinitelyTyped should dependence on @types/webvr-api
.
However, there is no package.json
in DefinitelyTyped.
Here is the link: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/playcanvas
How can I add @types/webvr-api
for my package ?
Upvotes: 0
Views: 256
Reputation: 51579
You can use /// <reference types="..." />
directive, you can find plenty examples with this search, like this one in riotjs-render.d.ts
/// <reference types="jquery" />
Upvotes: 1