convert to TypeScript
convert blpapi wrapper to TypeScript