As a beginner user of WebStorm and TypeScript, I am currently experimenting with incorporating the libstl library into my code. The snippet below is what I have written so far:
var PriorityQueue = require('libstl').PriorityQueue;
var queue = new PriorityQueue();
While I can compile this to JavaScript without any errors, I am facing an issue where the autocompletion feature does not suggest the methods available for the variable queue
, such as enqueue()
or dequeue()
.
Is there a way for me to configure WebStorm to recognize this library and provide autocompletion support for its methods?