Type Error with `transformQueryNames` in `PgClient.layerConfig`

const PGLive = PgClient.layerConfig({
  url: Config.redacted('DATABASE_URL'),
  transformQueryNames: String.camelToSnake
})

(property) transformQueryNames?: Config.Config<((str: string) => string) | undefined>
I got type error, any hint for this?
Was this page helpful?