Answer the question
In order to leave comments, you need to log in
Using a library that doesn't have typescript d.ts?
The JQuery plugin is used, which does not have a type description, etc. actually d.ts.
When compiling, an error pops up. error TS2554: Expected 0 arguments, but got 1.
How is it possible to include code that does not have descriptions (*.d.ts) and functions correctly in a typescript file?
The code:
let options = {
videoId: 'YpDp5Y5X3iU',
start: 0,
repeat: true
};
$('#wrapper').tubular(options);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question