Replies: 9 comments
-
Sounds like this might be an issue with angular-cli not being able to resolve scoped packages. Probably best to file an issue on |
Beta Was this translation helpful? Give feedback.
-
angular-cli wants typings I installed @typings/vimeo but that didn't work either |
Beta Was this translation helpful? Give feedback.
-
So it sounds like you’re using typescript? Happy to accept a pull request that adds whatever metadata is needed for that. |
Beta Was this translation helpful? Give feedback.
-
Also looks like you can request that they add definitions for this library to https://github.com/DefinitelyTyped/DefinitelyTyped. |
Beta Was this translation helpful? Give feedback.
-
Hi @bdougherty, I've created the typings for @vimeo/player following your README.md file. I've created a pull request at DefinitelyTyped >> DefinitelyTyped/DefinitelyTyped#15593 I don't know how to implement it in the API itself, but maybe somebody else could take it from here? |
Beta Was this translation helpful? Give feedback.
-
Types are now available via @types Till Typescript 2.3.1 (which will support resolution of scopped packages) is out you have to install it via |
Beta Was this translation helpful? Give feedback.
-
Would be nice if this were re-opened and the types included directly in the project. TypeScript is now arguably as mainstream as we can get, and this would definately provide a level of confidence that Vimeo was "onto it" if the player client libs "just worked" with types! Love you guys! |
Beta Was this translation helpful? Give feedback.
-
I'm using Typescript and had installed both the The example code in this comment worked for me: #81 (comment) |
Beta Was this translation helpful? Give feedback.
-
Going to close this out because the original issue was not entirely related to TypeScript. Please join #901 for the TS discussion. |
Beta Was this translation helpful? Give feedback.
-
angular-cli:
After npm install @vimeo/player, import fails with 'Cannot find module '@vimeo/player'.
I tried:
import Player from '@vimeo/player'
import Player from '@vimeo/player/dist/player'
import * as Player from '@vimeo/player'
Beta Was this translation helpful? Give feedback.
All reactions