You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue:
When using the getInstance() method in TypeScript and passing a string id as the first parameter, TypeScript complains that string is not assignable to a number because the first parameter of getInstance() is typed to be a number contrary to what the documentation says.
How to reproduce:
Install the lib into a TypeScript project and try calling AsgardeoSPAClient.getInstance('string')
Expected behavior:
There should be no TypeScript error. string is the preferred type for id.
Environment information (Please complete the following information; remove any unnecessary fields) :