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

Fix node types #650

Merged
merged 3 commits into from
Apr 27, 2023
Merged

Fix node types #650

merged 3 commits into from
Apr 27, 2023

Conversation

stnguyen90
Copy link
Contributor

@stnguyen90 stnguyen90 commented Apr 27, 2023

What does this PR do?

Delete methods return empty string so the type should be a string.

getAttribute() returns any one of the possible attributes so we'll use
any for now. In the future, we can look into supporting a union type.

Fix missing buffer type error

Fix missing NodeJS type

Test Plan

delete method:

image

getAttribute():

image

fix buffer and nodejs type errors:

image

Related PRs and Issues

None

Have you read the Contributing Guidelines on issues?

Yes

Users may need to include dom in their tsconfig.json if
they run into errors with Blob not found
Delete methods return empty string so the type should be a string.

getAttribute() returns any one of the possible attributes so we'll use
any for now. In the future, we can look into supporting a union type.
@christyjacob4 christyjacob4 merged commit 4057e14 into master Apr 27, 2023
@stnguyen90 stnguyen90 deleted the fix-node-types branch April 28, 2023 14:24
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.

2 participants