Comments (5)
Hi @LiKang6688, not sure what ts definitions that are being consumed here, but shouldn't it be
const app = session.open().then(global => global.openDoc(appId));
?
from enigma.js.
Hi @wennmo, yes, my wrong spelling. It should be openDoc
.
So the type for global
is IGeneratedAPI
and the Property openDoc
is missing in IGeneratedAPI
.
from enigma.js.
@types/enigma.js https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/enigma.js is maintained by Konrad Mattheis outside of Qlik. So I close the issue.
from enigma.js.
to solve this use case (not tested)
I think you can add a dependency to @types/qlik-engineapi
(in addition to @types/enigma.js
)
and use session.open<EngineAPI.IGlobal>().then((global) => ...);
to get a useable type
from enigma.js.
@T-Wizard It works. Thanks.
from enigma.js.
Related Issues (20)
- Enigma js connection failed in new chrome browser HOT 11
- Error: Session suspended while connecting Qlik one environment but it is working other environment
- Remove/update link for schemas when API Insights is removed
- Unable to close app HOT 2
- Qlik Saas blocking websocket connections from origins not the tenant HOT 6
- Npm update - schema 12.936.0.json is missing HOT 1
- Remove dependency to after-work.js
- Failed to construct 'WebSocket': The subprotocol '[object Object]' is invalid. HOT 2
- Question: How can I get the sheet name by passing the sheet id HOT 1
- Question: How to connect to Qliksense Enterprise from the browser HOT 6
- flaky test `qix-logging` > `should log qix traffic`
- Incorrect Result for getHyperCubeData when using Master Measures in Viz Expressions HOT 8
- multiselect using enigma HOT 1
- OnMaxParallelSessionsExceeded HOT 1
- upgrade to rollup v3
- Action Required: Fix Renovate Configuration
- TypeScript Support Broken HOT 2
- getDocList in Qlik Cloud instance HOT 2
- No use of providing appId to enigma session creation?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enigma.js.