Can't get getPostbySlug() to work properly

OK…I am doing something stupid again I am sure.

I am trying to pull a post from my Blog using the slug. Code as follows:

export async function getPostBySlugFunction(slug) {

const options = {
  fieldsets: [

  try {
    const result = await posts.getPostBySlug(slug, options);
    return result;
  } catch (error) {

I am getting an error message in the editor on options in the posts.getPostbySlug() call - it says the following: Argument of type ‘{ fieldsets: string[]; }’ is not assignable to parameter of type ‘GetPostBySlugOptions’. Types of property ‘fieldsets’ are incompatible. Type ‘string[]’ is not assignable to type ‘PostFieldField[]’. Type ‘string’ is not assignable to type ‘PostFieldField’.

I am not sure what to change this to…anyone have any suggestions?