adaltas / node-hbase

Asynchronous HBase client for NodeJs using REST

Home Page:https://hbase.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typescript imports and types support

mihirkurdekar opened this issue · comments

`
[x] Feature Request

[ ] Support Request
`

import * as hbase from 'hbase';

ERROR in IDE:
TS7016: Could not find a declaration file for module 'hbase'. 'XXXX/node_modules/hbase/lib/index.js' implicitly has an 'any' type.   Try npm install @types/hbase if it exists or add a new declaration (.d.ts) file containing declare module 'hbase';

It's a declaration module file which needs to be added to the project.

Can be fixed by #75