|
if @options.forceString and not typeof value is "string" |
This code not typeof value is "string" will compile to the following js:
! typeof value === "string"
it is the same as (! typeof value) === "string". So, the express will always be false.
we need ! (typeof value === "string") or typeof value !== "string".