I'm trying to convert a TS definition file into a JSweet Candy, using the Candy Generator. But I've found problems with some new line characters. Specifically, with those situated in these positions:
Between a greater-than character, after defining a generic, and an opening bracket. Example:
doThis<T> // New line character "\n"
(arg1: number, arg2: string)
After a comma, inside the definition of a generic. Example:
interface MyInterface <A, B, // New line character "\n"
C, D, E> {
}
In addition to the \n character, I guess that it also happens with \r and \r\n. But I've not tested it.
Hello:
I'm trying to convert a TS definition file into a JSweet Candy, using the Candy Generator. But I've found problems with some new line characters. Specifically, with those situated in these positions:
Between a greater-than character, after defining a generic, and an opening bracket. Example:
After a comma, inside the definition of a generic. Example:
In addition to the
\n
character, I guess that it also happens with\r
and\r\n
. But I've not tested it.Thank you!