I got the following error while trying to use from a TypeScript project: "Individual declarations in merged declaration 'replaceInFile' must be all exported or all local."
I tried it out and if simply exporting the replaceInFile namespace, it can solve this issue.
I import the package like this:
import replace from 'replace-in-file';
Hello!
I got the following error while trying to use from a TypeScript project: "
Individual declarations in merged declaration 'replaceInFile' must be all exported or all local.
"I tried it out and if simply exporting the replaceInFile namespace, it can solve this issue.
I import the package like this:
import replace from 'replace-in-file';