https://pulumi.com logo
#general
Title
# general
m

microscopic-actor-61637

03/13/2024, 4:56 AM
this is me trying to surpass the error, no luck
Copy code
index.ts(85,9): error TS2322: Type 'string' is not assignable to type '"GET" | "ANY" | "PUT" | "POST" | "DELETE" | "PATCH" | "OPTIONS" | "HEAD" | undefined'.
    index.ts(87,9): error TS2322: Type 'Output<string | undefined>' is not assignable to type 'Function | Promise<Function> | OutputInstance<Function> | undefined'.
      Type 'OutputInstance<string | undefined>' is not assignable to type 'Function | Promise<Function> | OutputInstance<Function> | undefined'.
        Type 'OutputInstance<string | undefined>' is not assignable to type 'OutputInstance<Function>'.
          Type 'string | undefined' is not assignable to type 'Function'.
            Type 'undefined' is not assignable to type 'Function'.