Update Add support for annotations (#43851)

This commit is contained in:
Marcus Olsson
2022-01-10 13:35:09 +01:00
committed by GitHub
parent 7b841c7947
commit 1141df7b9b

View File

@ -24,7 +24,7 @@ To enable annotation support for your data source, add the following two lines o
} }
``` ```
2. In `datasource.ts`, override the `annotations` property from `DataSourceApi`. For the default behavior, you can set `annotations` to an empty object. 2. In `datasource.ts`, override the `annotations` property from `DataSourceApi` (or `DataSourceWithBackend` for backend data sources). For the default behavior, you can set `annotations` to an empty object.
**datasource.ts** **datasource.ts**