Answer the question
In order to leave comments, you need to log in
How to reference class/object in downloaded package via JSDoc?
I would like to highlight the existing methods / properties of the module that is in NPM.
Let's take socket.io as an example.
You can somehow mark up the code through jsDoc so that the IDE:
a) does not swear at the existing methods / properties of the passed object
b) you can go to the method / property in the npm package
Answer the question
In order to leave comments, you need to log in
Solved with this query
SELECT `artists`.`id`, IF(LOCATE('cat', `name`) = 0, 10000, LOCATE('cat', `name`)) AS `locate_index`
FROM `artists`
WHERE (`name` LIKE '%cat%' OR REPLACE (`name`, '$ ', 's' LIKE '%cat%' ))
ORDER BY `locate_index`
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question