Creating Prototype Functions

Just had a quick question on something I have seen pop up any time I try to create a prototype functions. Any time I do so, the new function will be underlined in red and any time the function is called, it will be underlined but the script still seems to function as expected, with the function working as well.

Here’s an example:

image

Hovering the mouse over the error gives the message “Property ‘addDays’ does not exist on type ‘Date’”.

I’m not too concerned about this since it appears that everything still works but it would be nice to know why this is happening, whether this is an Airtable Scripting App issue. It would ease my mind a bit to not see this every time I try to call a prototype function.

Thanks for the help!