Skip to content

Instantly share code, notes, and snippets.

View nicroto's full-sized avatar

Nikolay Tsenkov nicroto

View GitHub Profile
@nicroto
nicroto / reproduce-issue.ts
Created April 20, 2024 07:32
tsx can't run/transpile endent
import endent from 'endent';
const stringProcessor = (str: TemplateStringsArray) => {
return ` ${str.join()}`;
};
function main() {
// console.log(stringProcessor`test`); // this works
console.log(endent`test`); // this FAILS
}