`@dhis2/app-service-datastore` library missing types (module declarations)


On upgrading the @dhis2/app-service-datastore from v1.0.0-alpha.1 to v1.0.0-beta.1 in an app using typescript, I get an error that the library is missing module declarations. This error was not present in the previous version. Are there any additional steps I should do to make it work apart from manually declaring it in a .d.ts file?


I’m not sure how to reproduce this issue, would you please share steps to reproduce this issue?


Hi Gift - thanks for raising this issue, the latest build is indeed missing types - I will republish a second beta release with types included!

1 Like

@nnkogift this should be fixed in @dhis2/app-service-datastore@1.0.0-beta.3 (see unpkg)


Hello @Gassim, thanks for checking on this issue, and sorry for the late reply. If you install the package in a typescript project and import it into any of the .ts files you will see the error on the import statement.

Thank you @austin for the reply and the quick fix. :pray:t5:

1 Like