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

feature/sc-121448/configure-typescript-with-just-checkjs #170

Merged

Conversation

CarlosHdez
Copy link
Contributor

Adds typescript configurations to run checkJS and fixes docs errors

@CarlosHdez CarlosHdez marked this pull request as ready for review September 8, 2023 16:10
@CarlosHdez CarlosHdez force-pushed the feature/sc-121449/use-fetch-in-agent-js branch from 1937c94 to cf2b7bc Compare September 8, 2023 18:31
@monkbroc monkbroc force-pushed the feature/sc-121449/use-fetch-in-agent-js branch from d41e0ec to a29b473 Compare September 8, 2023 21:31
Base automatically changed from feature/sc-121449/use-fetch-in-agent-js to master September 8, 2023 21:36
@CarlosHdez CarlosHdez force-pushed the feature/sc-121448/configure-typescript-with-just-checkjs branch from 32c7861 to 1b939e4 Compare September 8, 2023 22:41
@@ -75,7 +83,9 @@ class Particle {
username,
password,
grant_type: 'password',
// @ts-ignore
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious why these ts-ignore are necessary

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ones related to this are because they are set by doing Object.assign(this, Defaults, options); but they have no explicit this.clientId initialization so it was complaining of this not having said properties.
I thought of adding default values before the object.assign but wasn't sure which values to give it

Copy link
Member

@monkbroc monkbroc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@CarlosHdez CarlosHdez merged commit c00db93 into master Sep 14, 2023
3 checks passed
@CarlosHdez CarlosHdez deleted the feature/sc-121448/configure-typescript-with-just-checkjs branch September 20, 2023 18:38
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

Successfully merging this pull request may close these issues.

None yet

2 participants