Azure / azure-kusto-trender

A JavaScript client for Kusto (Azure Data Explorer, Synapse Data Explorer, Kusto free), featuring components for making calls directly to Kusto, rendering results from the API, and more
https://aka.ms/kusto.trender
MIT License
29 stars 11 forks source link

Typescript error when importing `azure-kusto-trender` #39

Closed SammyWhamy closed 10 months ago

SammyWhamy commented 1 year ago

When importing azure-kusto-trender the following error is reported by typescript:

src/index.ts:1:26 - error TS7016: Could not find a declaration file for module 'azure-kusto-trender'. 'C:/Users/steeuwisse.ext/Desktop/kusto-test/node_modules/azure-kusto-trender/kustoTrender.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/azure-kusto-trender` if it exists or add a new declaration (.d.ts) file containing `declare module 'azure-kusto-trender';`

1 import KustoTrender from 'azure-kusto-trender';

Notes Might be related to #37