I am in a Typescript project and try to create a promBundle middleware using the maxAgeSeconds config for the "summary".
It seems that the maxAgeSeconds is not part of the interface type for express_prom_bundle.Opts. Therefore it is not possible to create with correct types.
I am in a Typescript project and try to create a promBundle middleware using the
maxAgeSeconds
config for the "summary". It seems that themaxAgeSeconds
is not part of the interface type forexpress_prom_bundle.Opts
. Therefore it is not possible to create with correct types.