Closed juanrgm closed 1 year ago
This code
let a = __('hello'), b: string
throws:
node_modules/gettext-extractor/dist/js/extractors/comments.js:112 if (lineNumber === sourceFile.getLineAndCharacterOfPosition(nodes[index + 1].getStart()).line) { ^ TypeError: Cannot read properties of undefined (reading 'getStart')
And this works:
let a = __('hello'), b: string = ''
Thanks for reporting this bug! I just released a fix in version 3.6.1
This code
throws:
And this works: