axa-group / bauta.js

Bauta.js is an add-on for your Node.js applications such as Express.js or Fastify.
Other
42 stars 3 forks source link

fix(ci, build, fastify): add type casting to prevent build error #118

Closed franher closed 1 year ago

franher commented 1 year ago

Pull Request Template

PR Checklist

PR Description

Avoiding the following typescript error on build.

  > @axa/bautajs-fastify@3.0.0-alpha.2 build
  > tsc --build

  Error: src/expose-routes.ts(44,7): error TS2322: Type 'string | string[] | undefined' is not assignable to type 'string | undefined'.
    Type 'string[]' is not assignable to type 'string'.
github-actions[bot] commented 1 year ago

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Manifest Files