Skip to content

Update BaseIcon types - #136

Merged
schnz merged 2 commits into
gjsify:mainfrom
AmionSky:base-icon
Jul 9, 2026
Merged

Update BaseIcon types#136
schnz merged 2 commits into
gjsify:mainfrom
AmionSky:base-icon

Conversation

@AmionSky

@AmionSky AmionSky commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

No description provided.

AmionSky and others added 2 commits July 2, 2026 23:55
- animateZoomOutAtPos(x, y): upstream takes coordinates
  (js/ui/iconGrid.js); the declaration had no parameters, so callers
  passing (x, y) would fail to type-check.
- createIcon ConstructorProp: parenthesize to `((size) => St.Icon) | null`
  so the property is nullable (matching the `createIcon: null` default)
  rather than a function returning `St.Icon | null`.
@JumpLink

JumpLink commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

@AmionSky I hope it’s OK with you that I’ve posted my findings directly here in the PR 😅 That looks great, thanks for that!

@JumpLink
JumpLink requested a review from schnz July 3, 2026 20:38
@AmionSky

AmionSky commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

If possible, could this be merged and a new release published?

@schnz
schnz merged commit bf7b9e8 into gjsify:main Jul 9, 2026
1 check passed
@schnz

schnz commented Jul 9, 2026

Copy link
Copy Markdown
Member

Sorry, haven't seen the requested review. LGTM. Going to publish a release.

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.

3 participants