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

Topic Labels: Scripting extentions
2295 2
Showing results for 
Search instead for 
Did you mean: 
6 - Interface Innovator
6 - Interface Innovator

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 2
Community Manager
Community Manager

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

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