Skip to main content

Airtable scripting Typescript support in IDE

  • June 29, 2024
  • 1 reply
  • 236 views

Forum|alt.badge.img+10

I saw what looks like support for type script in airtables online IDE but I couldn't find any documentation on it. I'd like to get rid of some of these type errors that are populating my code. 

 

1 reply

Forum|alt.badge.img+1
  • New Participant
  • July 1, 2024

Hello, @BenFortunato netbenefits

Airtable's scripting environment primarily supports JavaScript, but if you've seen TypeScript support in the IDE, it may be a recent or limited feature. Here's what you can do to handle type errors:

Check Airtable's Documentation: Look for any updates or guides on TypeScript support in their scripting documentation.
Use TypeScript in Local Development: Develop your script locally using TypeScript and compile it to JavaScript before pasting it into the Airtable IDE.
Type Declarations: Use JSDoc comments in your JavaScript code to provide type hints and reduce errors.
If you still have issues, reaching out to Airtable support or community forums may provide more detailed guidance.

I hope this suggestion will be helpful for you