-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeScript Support Broken #989
Comments
Hello @jordan-erisman. Can you expand your example a bit more? .. specifically I want to know if you have created your own global type or augmented the types in |
i am encountering the same problem, where i am left with basically a type free module in my application (angular app with qlik integration via enigmajs) , because (its showing field but i mean all of it) and it all starts when you.. import enigma from 'enigma.js'
const config: enigmaJS.IConfig = {
// ...
};
const session: enigmaJS.ISession = await enigma.create(config);
const global = await session.open()
//Property 'openDoc' does not exist on type 'IGeneratedAPI'
global.openDoc(...) i dont know what i might be missing, or if i have to extend any types or something, funny thing...the code works if i keep i am using version |
Description
Types added in #983 breaks existing project using @types/enigma.js
Steps to Reproduce
Expected behavior
New types should match functionality available in library. Similar to @types/enigma.js
Actual behavior
Property openDoc does not exist on type
The text was updated successfully, but these errors were encountered: