bcherny / bcherny/json-schema-to-typescript
tsType use export from npm package
- Dominant language
- TypeScript
- Stars
- 3.3k
- Forks
- 464
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 124
Description
I see from [this issue](https://github.com/bcherny/json-schema-to-typescript/issues/211) that using `tsType` with packages seems to be possible. However I cannot seem to get this to work. The import I want to define is
```ts
import { StreamableFile } from "@nestjs/common";
```
The [examples here](https://github.com/bcherny/json-schema-to-typescript/blob/master/test/e2e/customType.ts) only give basic examples of inbuilt Node exports
Contributor guide
Research direction
Start with test/e2e/customType.ts and compare its built-in Node export examples with the requested @nestjs/common import. Reproduce the configuration used for tsType and determine whether package imports are supported; done means a confirmed working case or a focused test documenting the failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100