gremlin-aws-sigv4
gremlin-aws-sigv4 copied to clipboard
Export TypeScript definitions
This is more of a feature request than a bug. It would be great to support TypeScript and produce index.d.ts so importing and using this lib would be easier.
Were you able to get it to work with typescript? I am currently getting an error that says "Property AwsSigV4DriverRemoteConnection does not exist on type 'typeof driver'"?
Basically you can do without the types, but would be better if it was included. I just ended up reading this short useful lib and import * as gremlin to fallback.
import * as gremlin from 'gremlin-aws-sigv4';
import RemoteConnection = gremlin.driver.RemoteConnection;
import DriverRemoteConnection = gremlin.driver.DriverRemoteConnection;
import AwsSigV4DriverRemoteConnection = gremlin.driver.AwsSigV4DriverRemoteConnection
This lib gremlin-aws-sigv4 exports all that is included in vanilla gremlin lib.
Thank you that helped a lot. Now I am just working on getting my queries to play nicely with Neptune. thanks!