question

jeffrbake avatar image
jeffrbake asked

playfab-sdk lint errors

Looks like the value variable needs to be typed properly. It needs the :any type or the associated type for what it is.

ERROR in C:/Repositories/ArcMages/arcmages-vue-client/node_modules/playfab-sdk/index.d.ts
17:26 Parameter 'value' implicitly has an 'any' type.
15 | export const PlayFab: PlayFabModule.IPlayFab;
16 | export function settings(): PlayFabModule.IPlayFabSettings;
> 17 | export function settings(value): void;
| ^
18 | export const PlayFabAdmin: PlayFabAdminModule.IPlayFabAdmin;
19 | export const PlayFabClient: PlayFabClientModule.IPlayFabClient;
20 | export const PlayFabMatchmaker: PlayFabMatchmakerModule.IPlayFabMatchmaker;

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
JayZuo avatar image
JayZuo answered

Thank you for your feedback. It seems you have already opened an issue on GitHub: https://github.com/PlayFab/NodeSDK/issues/99. Please trace this issue and I'll help to report this to SDK team, thanks again!

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

jeffrbake avatar image jeffrbake commented ·

Thanks, yes I found the github page after posting. Please note that unless I tell the compiler to ignore such errors (bad practice), I cannot build this app until it is fixed.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.