Corrected custom prometheus client docs (#11010)

Signed-off-by: Jaseel <12792882+Spikatrix@users.noreply.github.com>
This commit is contained in:
Jaseel 2022-07-13 14:21:51 +05:30 committed by GitHub
parent 44fcf876ca
commit f8c3b0bd1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -217,7 +217,7 @@ interface [PrometheusClient](https://github.com/prometheus/codemirror-promql/blo
.
```typescript
const promQL = new PromQLExtension().setComplete({remote: {prometheusClient: MyPrometheusClient}})
const promQL = new PromQLExtension().setComplete({remote: MyPrometheusClient})
```
#### Provide your own implementation of the autocompletion