How do I keep the literal type information alive?
I have the following code snippet, my question is how do I keep the literal type information of knowLiteral without having to spell out the type like I am doing right now?
Can I make JSDoc trust me that 1 egg + 1 egg = 2 eggs?
I want to write nC = nA + nB
(see below) but JSDoc thinks that is an error. Can I make JSDoc change its mind?
Cannot find name ‘myFun’ (defined in included file “my-funs.js”)
The function myFun
is defined in the included file:
JsDoc: cannot find name ‘myFun’ (defined in included file “my-funs.js”)
The function myFun
is defined in the included file: