grikomsn / airtable-deno

Unofficial Airtable client for Deno 🦕
https://deno.land/x/airtable
MIT License
16 stars 8 forks source link

Type Fix: Change Attachment FieldSet type to an Array #3

Closed minnacaptain closed 4 years ago

minnacaptain commented 4 years ago

From what I can tell, a field of type 'Attachment' will always return an array. It returns an array even if the data only contains one attachment. This PR updates the typings to match.

grikomsn commented 4 years ago

Hey there! Thanks for the PR, will merge this for version v0.2.3. 🎉