Denoifying a TypeScript file with a comment containing the word "Buffer" led to an output file importing the Buffer package, subsequently breaking our backend build.
See this commit for context.
Observed behaviour:
The word "Buffer" in a comment makes denoify create an import statement for Buffer.
Desired behaviour:
Denoify will not treat comments as code.
Denoifying a TypeScript file with a comment containing the word "Buffer" led to an output file importing the
Bufferpackage, subsequently breaking our backend build.See this commit for context.
Observed behaviour:
The word "Buffer" in a comment makes denoify create an import statement for Buffer.
Desired behaviour:
Denoify will not treat comments as code.