regexFind: /\/\*([^*]|\*(?!\/))*$/
regexReplace: $& */Add closing comment delimiter '*/' to terminate the block comment
- /* console.log('This is commented out')
+ /* console.log('This is commented out') */Explanation: Block comments must be properly closed with '*/'
npx tsc ./docs/1010/index.ts --noEmit --prettydocs/1010/index.ts:1:40 - error TS1010: '*/' expected.
1 /* console.log('This is commented out')OR (without --pretty flag):
docs/1010/index.ts(1,40): error TS1010: '*/' expected.