Skip to main content

Bug report: script editor says it expects ".thumbnail" but should be ".thumbnails"

  • March 26, 2020
  • 2 replies
  • 22 views

Forum|alt.badge.img+13

When I edit a script and browse for attachment thumbnails, the editor marks the syntax .thumbnails as an error.

Property 'thumbnails' does not exist on type '{ readonly id: string; readonly url: string; readonly filename: string; readonly size?: number; readonly type?: string; readonly thumbnail?: {

The autocomplete suggests .thumbnail (no s). It’s a bug: this wrong syntax fails at runtime, but is considered as the correct one by the script editor.

2 replies

Stephen_Suen
Forum|alt.badge.img+19
  • Employee
  • 83 replies
  • March 27, 2020

@David_Roulin Thanks for flagging this issue! It should be fixed now.


Forum|alt.badge.img+13
  • Author
  • Known Participant
  • 14 replies
  • April 3, 2020

@David_Roulin Thanks for flagging this issue! It should be fixed now.


It is indeed. :slightly_smiling_face: You’re awesome.