[GH-ISSUE #16] bug: typeerror when passing extra config fields to sileo.promise #15

Closed
opened 2026-03-02 05:16:32 +03:00 by kerem · 2 comments
Owner

Originally created by @simbesh on GitHub (Feb 17, 2026).
Original GitHub issue: https://github.com/hiaaryan/sileo/issues/16

Originally assigned to: @hiaaryan on GitHub.

#26 57.48 Type error: Object literal may only specify known properties, and 'fill' does not exist in type 'Pick<SileoOptions, "title" | "icon">'.
#26 57.48 
#26 57.48   334 |                         sileo.promise(() => new Promise((r) => setTimeout(r, 2000)), {
#26 57.48   335 |                             loading: {
#26 57.48 > 336 |                               fill: '#1d293d',
#26 57.48       |                                ^
#26 57.48   337 |                               title: 'Processing...',
#26 57.48   338 |                               styles: {
#26 57.48   339 |                                     title: 'text-white!',
Originally created by @simbesh on GitHub (Feb 17, 2026). Original GitHub issue: https://github.com/hiaaryan/sileo/issues/16 Originally assigned to: @hiaaryan on GitHub. ``` #26 57.48 Type error: Object literal may only specify known properties, and 'fill' does not exist in type 'Pick<SileoOptions, "title" | "icon">'. #26 57.48 #26 57.48 334 | sileo.promise(() => new Promise((r) => setTimeout(r, 2000)), { #26 57.48 335 | loading: { #26 57.48 > 336 | fill: '#1d293d', #26 57.48 | ^ #26 57.48 337 | title: 'Processing...', #26 57.48 338 | styles: { #26 57.48 339 | title: 'text-white!', ```
kerem 2026-03-02 05:16:32 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@hiaaryan commented on GitHub (Feb 20, 2026):

Will be addressed in the next update.

<!-- gh-comment-id:3932739552 --> @hiaaryan commented on GitHub (Feb 20, 2026): Will be addressed in the next update.
Author
Owner

@hiaaryan commented on GitHub (Feb 22, 2026):

Fixed in v0.1.5

<!-- gh-comment-id:3941491085 --> @hiaaryan commented on GitHub (Feb 22, 2026): Fixed in v0.1.5
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/sileo#15
No description provided.