dsherret / dsherret/ts-morph

Support setting name of NamespaceDeclaration that uses dot notation for the name

Open
#524 2 comments 0 reactions 0 assignees View on GitHub
domain: manipulation enhancement
Dominant language
TypeScript
Stars
6.2k
Forks
238
Avg merge
2m
Merged PRs (30d)
1

Description

```typescript
sourceFile.getNamespaceOrThrow("a.b"); // ok !
sourceFile.getNamespaceOrThrow("a.b").setName("a"); // throw a error below

// Not implemented to set a namespace name that uses dot notation. Please open an issue if you really need this and I'll up the priority
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.