Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

cant get rid of any

Vincent4bc0f29c5dde
diff --git a/ui/component/or-attribute-card/src/index.ts b/ui/component/or-attribute-card/src/index.ts
index 6206aaea4..71df83d08 100644
--- a/ui/component/or-attribute-card/src/index.ts
+++ b/ui/component/or-attribute-card/src/index.ts
@@ -128,7 +128,6 @@ export class OrAttributeCard extends LitElement {
return response.data[0];
}
- // todo: get rid of this <any>
private async getDatapointsByAttribute(id: string): Promise<ValueDatapoint<any>[]> {
const response = await manager.rest.api.AssetDatapointResource.getDatapoints(
id,