Update typings to new standards
Closed this issue · 2 comments
SimonSchick commented
declare module ModuleName
is somewhat deprecated and does require additional setup, having 1 main typings
files (see https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html) makes it much easier to consume this library, please consider updating accordingly.
Ideally you would have 1 index.d.ts
files which then re-exports all the modules, the TS docs explain these things quiet well.
This also allows proper importing via the import
keyword and makes a much better user experience.
pgilmorepf commented
Thank you for your submission.
I agree, that we should make this change, but I don't have a timeline for when that will happen.
Sorry for the delay.
toddbellMSFT commented
We are now addressing this issue here PlayFab/SDKGenerator#621