-
It would be great to have an "extract method/function" operation (like what tsserver offers, but with ts-morph's more complete treatment).
Is this already possible / did I miss anything?
-
**Describe the bug**
ts-morph doesnt properly handle js/jsx files
Version: 23.0.0
**To Reproduce**
```ts
import { Project } from "ts-morph";
const data = `
import M…
-
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…
-
If you were to use a class in your custom data type, it would be imported in the .ts file e.g. by:
`import { Timestamp } from '@google-cloud/firestore';`
This will result in non working import in th…
-
* Merge and extend Data Model using the defineSchema Design
-
I believe I'm not the first one who is trying to get some custom code gen from swagger.json.
It would be very nice to have some example of how to generate the type definitions based on swagger inpu…
Liero updated
8 months ago
-
**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…
-
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
…
-
**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**
…
-
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.
…