-
**Describe the bug**
Version: 22.0.0
**To Reproduce**
```ts
import { Project } from "ts-morph";
const project = new Project();
const sourceFile = project.createSourceFile("test.ts", …
-
**Describe the bug**
Version: 23.0.0
Calling `namedExport.remove()` on the last named export in a declaration inserts an `export * from 'module';` , instead of removing the declaration.
…
-
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 …
-
I set the path alias in my tsconfig.json:
```
paths: {
"module/*": ["./src/app/module/*"],
...
}
```
and I have import like this:
```
import { foo } from '@module/foo';
```
Is …
-
- https://ts-morph.com/setup/
- https://ts-ast-viewer.com/
-
(PR coming shortly)
Looks like this dependency comes from `@ts-morph/bootstrap`; bumping that version to `0.23`+ should now use TypeScript 5.4.
This will definitely break some builds, as 5.4 is …
-
**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…
-
**Describe the bug**
When using morphism inside the function with generic types - it could not assign SourceType to SourceFromSchema
**To Reproduce**
Steps to reproduce the behavior:
Just run th…
-
Planning a `v2.0.0` for Morphism with those changes:
- [ ] Tag Morphism Registry as deprecated (not so used?). Will be removed in `v3`.
- [x] Runtime checks as https://github.com/gcanti/io-ts ht…
-
Hi, I'm working on project that verify the architecture of other projects.
I'm using ts-morph to read files and get imports from them.
Everything works fine expect for some imports that could not …
teyma updated
2 months ago