Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add types to sdk #155

Open
velara3 opened this issue Jan 2, 2024 · 0 comments
Open

Add types to sdk #155

velara3 opened this issue Jan 2, 2024 · 0 comments

Comments

@velara3
Copy link

velara3 commented Jan 2, 2024

Using VSCode with the library there doesn't seem to be auto complete on the API. No type definitions (or asdocs).

If I follow the example code from here:

      const client = await sdk.init(imsOrgId, clientIdAndApiKey, authToken);
      client. // does not show auto complete of object members

Expected Behaviour

Autocomplete to show documentation in VSCode

Actual Behaviour

No autocomplete and no documentation in VSCode

Reproduce Scenario (including but not limited to)

Steps to Reproduce

Create a new node project and then follow the instructions here to import the library and then start to type the example code in vscode. You would expect to see auto complete.

https://github.com/adobe/aio-lib-photoshop-api?tab=readme-ov-file#usage

Platform and Version

OSX

Sample Code that illustrates the problem

https://github.com/adobe/aio-lib-photoshop-api?tab=readme-ov-file#usage

Logs taken while reproducing problem

Follow instructions here:
https://github.com/adobe/aio-lib-photoshop-api?tab=readme-ov-file#usage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant