Skip to content

fix: use @chainable per-overload#8504

Open
LuLaValva wants to merge 1 commit intoprocessing:dev-2.0from
LuLaValva:8356-chainable-ts
Open

fix: use @chainable per-overload#8504
LuLaValva wants to merge 1 commit intoprocessing:dev-2.0from
LuLaValva:8356-chainable-ts

Conversation

@LuLaValva
Copy link

Changes:

  • @chainable in JSDoc applies to one overload and not the whole function
  • To test, view updates to p5.d.ts after npm run generate-types
code screenshot showing that the type signature for a size method changed from returning Element for both overloads to object and element in the correct places

Updated methods: volume, speed, position, size, style, attribute, value

PR Checklist

I don't think any of these apply 😅... lint has a bunch of warnings but none related to my code, and I don't see unit/snapshot tests for the p5.d.ts file.

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.

1 participant