json-schema-to-typescript icon indicating copy to clipboard operation
json-schema-to-typescript copied to clipboard

tsType use export from npm package

Open darcyrush opened this issue 2 years ago • 2 comments

I see from this issue 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

import { StreamableFile } from "@nestjs/common";

The examples here only give basic examples of inbuilt Node exports

darcyrush avatar May 17 '22 08:05 darcyrush

There isn't a great way to do this today. Proposals welcome!

bcherny avatar May 22 '22 04:05 bcherny