Skip to content

Commit

Permalink
Update index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
zigazajc007 authored Apr 29, 2024
1 parent 1c7a4c0 commit 9a2d984
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ export class Registry<RegistryContentType = PrometheusContentType> {
/**
* Gets the Content-Type of the metrics for use in the response headers.
*/
readonly contentType: RegistryContentType;
readonly contentType: PrometheusContentType | OpenMetricsContentType;

/**
* Set the content type of a registry. Used to change between Prometheus and
* OpenMetrics versions.
* @param contentType The type of the registry
*/
setContentType(contentType: RegistryContentType): void;
setContentType(contentType: PrometheusContentType | OpenMetricsContentType): void;

Check failure on line 91 in index.d.ts

View workflow job for this annotation

GitHub Actions / Test on Node.js v16.x and OS ubuntu-latest

Replace `contentType:·PrometheusContentType·|·OpenMetricsContentType` with `⏎↹↹contentType:·PrometheusContentType·|·OpenMetricsContentType,⏎↹`

Check failure on line 91 in index.d.ts

View workflow job for this annotation

GitHub Actions / Test on Node.js v16.x and OS macOS-latest

Replace `contentType:·PrometheusContentType·|·OpenMetricsContentType` with `⏎↹↹contentType:·PrometheusContentType·|·OpenMetricsContentType,⏎↹`

Check failure on line 91 in index.d.ts

View workflow job for this annotation

GitHub Actions / Test on Node.js v20.x and OS ubuntu-latest

Replace `contentType:·PrometheusContentType·|·OpenMetricsContentType` with `⏎↹↹contentType:·PrometheusContentType·|·OpenMetricsContentType,⏎↹`

Check failure on line 91 in index.d.ts

View workflow job for this annotation

GitHub Actions / Test on Node.js v21.x and OS ubuntu-latest

Replace `contentType:·PrometheusContentType·|·OpenMetricsContentType` with `⏎↹↹contentType:·PrometheusContentType·|·OpenMetricsContentType,⏎↹`

Check failure on line 91 in index.d.ts

View workflow job for this annotation

GitHub Actions / Test on Node.js v18.x and OS ubuntu-latest

Replace `contentType:·PrometheusContentType·|·OpenMetricsContentType` with `⏎↹↹contentType:·PrometheusContentType·|·OpenMetricsContentType,⏎↹`

Check failure on line 91 in index.d.ts

View workflow job for this annotation

GitHub Actions / Test on Node.js v20.x and OS macOS-latest

Replace `contentType:·PrometheusContentType·|·OpenMetricsContentType` with `⏎↹↹contentType:·PrometheusContentType·|·OpenMetricsContentType,⏎↹`

Check failure on line 91 in index.d.ts

View workflow job for this annotation

GitHub Actions / Test on Node.js v18.x and OS macOS-latest

Replace `contentType:·PrometheusContentType·|·OpenMetricsContentType` with `⏎↹↹contentType:·PrometheusContentType·|·OpenMetricsContentType,⏎↹`

Check failure on line 91 in index.d.ts

View workflow job for this annotation

GitHub Actions / Test on Node.js v21.x and OS macOS-latest

Replace `contentType:·PrometheusContentType·|·OpenMetricsContentType` with `⏎↹↹contentType:·PrometheusContentType·|·OpenMetricsContentType,⏎↹`

Check failure on line 91 in index.d.ts

View workflow job for this annotation

GitHub Actions / Test on Node.js v21.x and OS windows-latest

Replace `contentType:·PrometheusContentType·|·OpenMetricsContentType` with `⏎↹↹contentType:·PrometheusContentType·|·OpenMetricsContentType,⏎↹`

Check failure on line 91 in index.d.ts

View workflow job for this annotation

GitHub Actions / Test on Node.js v16.x and OS windows-latest

Replace `contentType:·PrometheusContentType·|·OpenMetricsContentType` with `⏎↹↹contentType:·PrometheusContentType·|·OpenMetricsContentType,⏎↹`

Check failure on line 91 in index.d.ts

View workflow job for this annotation

GitHub Actions / Test on Node.js v20.x and OS windows-latest

Replace `contentType:·PrometheusContentType·|·OpenMetricsContentType` with `⏎↹↹contentType:·PrometheusContentType·|·OpenMetricsContentType,⏎↹`

Check failure on line 91 in index.d.ts

View workflow job for this annotation

GitHub Actions / Test on Node.js v18.x and OS windows-latest

Replace `contentType:·PrometheusContentType·|·OpenMetricsContentType` with `⏎↹↹contentType:·PrometheusContentType·|·OpenMetricsContentType,⏎↹`

/**
* Merge registers
Expand Down

0 comments on commit 9a2d984

Please sign in to comment.