hastic-zzz / hastic-grafana-app

Hastic data management server for labeling patterns and anomalies in Grafana
https://hastic.io
GNU General Public License v3.0
179 stars 18 forks source link

Fix build errors #467

Closed rozetko closed 3 years ago

rozetko commented 3 years ago

Fixes #453

This PR fixes build errors, e.g.:

[tsl] ERROR
      TS2318: Cannot find global type 'AsyncIterableIterator'.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/src/panel/graph_panel/controllers/analytic_controller.ts
./panel/graph_panel/controllers/analytic_controller.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/src/panel/graph_panel/controllers/analytic_controller.ts(703,16)
      TS2304: Cannot find name 'AsyncIterableIterator'.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/src/panel/graph_panel/services/analytic_service.ts
./panel/graph_panel/services/analytic_service.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/src/panel/graph_panel/services/analytic_service.ts(208,6)
      TS2304: Cannot find name 'AsyncIterableIterator'.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/src/panel/graph_panel/services/analytic_service.ts
./panel/graph_panel/services/analytic_service.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/src/panel/graph_panel/services/analytic_service.ts(230,6)
      TS2304: Cannot find name 'AsyncIterableIterator'.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/src/panel/graph_panel/services/analytic_service.ts
./panel/graph_panel/services/analytic_service.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/src/panel/graph_panel/services/analytic_service.ts(447,4)
      TS2304: Cannot find name 'AsyncIterableIterator'.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/base.d.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/base.d.ts(10,1)
      TS1084: Invalid 'reference' directive syntax.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/base.d.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/base.d.ts(11,1)
      TS1084: Invalid 'reference' directive syntax.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/base.d.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/base.d.ts(12,1)
      TS1084: Invalid 'reference' directive syntax.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/base.d.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/base.d.ts(13,1)
      TS1084: Invalid 'reference' directive syntax.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/ts3.6/base.d.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/ts3.6/base.d.ts(10,1)
      TS1084: Invalid 'reference' directive syntax.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/ts3.6/base.d.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/ts3.6/base.d.ts(11,1)
      TS1084: Invalid 'reference' directive syntax.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/ts3.6/base.d.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/ts3.6/base.d.ts(12,1)
      TS1084: Invalid 'reference' directive syntax.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/ts3.6/base.d.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/ts3.6/base.d.ts(13,1)
      TS1084: Invalid 'reference' directive syntax.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts(3,68)
      TS1144: '{' or ';' expected.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts(57,68)
      TS1144: '{' or ';' expected.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts(66,94)
      TS1144: '{' or ';' expected.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts(66,101)
      TS1005: ';' expected.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts(66,104)
      TS1005: ';' expected.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts(68,98)
      TS1144: '{' or ';' expected.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts(68,105)
      TS1005: ';' expected.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts(68,108)
      TS1005: ';' expected.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts(76,47)
      TS1144: '{' or ';' expected.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts(76,53)
      TS1005: ';' expected.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts(76,56)
      TS1005: ';' expected.

ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts
[tsl] ERROR in /c/Users/rozetko/wsl/grafana-plugins/hastic-grafana-app/node_modules/@types/node/assert.d.ts(106,61)
      TS1005: ';' expected.

Changes: