msgraph-sdk-javascript icon indicating copy to clipboard operation
msgraph-sdk-javascript copied to clipboard

typings files are missing

Open itaydemri opened this issue 9 years ago • 4 comments

Hello,

*.d.ts files in this package contains a reference to: /// <reference path="../../typings/index.d.ts" />

which is missing after installing package.

using: "msgraph-sdk-javascript": "^0.2.2"

am i missing something? tried to use the microsoftgraph/msgraph-typescript-typings but unfortunately it doesn't support @types yet...

Thanks!

itaydemri avatar Dec 21 '16 18:12 itaydemri

Good catch @itaydemri . This project still uses typings, so typings install will populate that folder. But, that's only for developing with the full source and it won't worked in the published npm package since the typings file doesn't exist.

I've started porting this project away from typings on the typings-to-types branch. Both the core files and the typescript sample have been updated. I'd love feedback on that if you can clone that branch and try it out!

dan-silver avatar Dec 21 '16 23:12 dan-silver

Also, the migration away from typings is in pull request #20

dan-silver avatar Dec 21 '16 23:12 dan-silver

#20 has been merged. Please reopen this thread if the types are still an issue.

dan-silver avatar Dec 22 '16 17:12 dan-silver

Thanks Dan! it looks much better, however there's a new issue in 0.3.0. i'll open a new issue to address that.

Itay

itaydemri avatar Dec 22 '16 19:12 itaydemri