-
Hi, I'd like to ask if there's an easy way to resolve an arbitrary string coming from outside a project's source code as if it were an import source specifier within the project. Specifically, let's s…
-
**Describe the bug**
Version: 10.0.2
**To Reproduce**
```ts
import { Project, ts } from "ts-morph";
const project = new Project({ useInMemoryFileSystem: true });
const sourceFile = proje…
-
I might be doing things totally wrong but I am using ts-morph to generate a TS file at build time. I want to navigate all the source files within a particular dependency using the normal module resolu…
-
Many errors occurred during conversion from react to solid, I am trying to convert remix-ui, I think its the best ui library that if converted to solid would benefit a lot and also after shadcn-ui
…
-
I am just getting started with ts-morph and think that my typescript [path mappings](https://www.typescriptlang.org/docs/handbook/module-resolution.html#path-mapping) are not working for some reason.
…
-
Is this the way to do it?
```ts
import { Project, ts, printNode } from "ts-morph";
const tsVariableStatement = ts.factory.createVariableStatement(
[ts.factory.createModifier(ts.Synta…
-
I'm traversing an object type, and I've hit a bit of a road-bump whilst attempting to determine if a tuple's element type is optional.
For example, with a declaration like this:
```ts
type Color …
-
**Describe the bug**
Version: 10.1.0
I want to generate .ts file with variable content, that depend on my `existedObject`
`Writers` generate incorrect object representation
**To Reproduce**
…
-
**Describe the bug**
Version: `17.0.1`
I want to give my project a baseDir or cwd so all project apis will use it as a relative path
For example, create a project relative to dir `src` so when …
-
### Checklist
* [x] I can reproduce this issue when running this plugin on its own.
*Other plugins, such as `node-resolve` are known to cause issues.*
* [x] I am running this plugin on `.d.ts` …