ts-morph icon indicating copy to clipboard operation
ts-morph copied to clipboard

Can’t add files with `Project.addSourceFilesAtPaths()`

Open rojvv opened this issue 2 years ago • 0 comments

Describe the bug

Version: 19.0.0

To Reproduce

import { Project } from "ts-morph";

const project = new Project();

project.addSourceFilesAtPaths(["a/x.ts", "a/y.ts"]);

Expected behavior

Must behave like adding each file individually with Project.addSourceFileAtPath().

rojvv avatar Aug 13 '23 17:08 rojvv