2021-08-25
3820
#typescript
Ashley Davis
63934
Aug 25, 2021 ⋅ 13 min read

Make sharing TypeScript code and types quick and easy

Ashley Davis Ashley Davis is a software craftsman and author. He is VP of Engineering at Hone and currently writing Rapid Fullstack Development and the second edition of Bootstrapping Microservices. Follow on Twitter for updates.

Recent posts:

vitest 4 adoption guide

Vitest 4 adoption guide: Overview and migrating from Jest

Learn how Vitest 4 makes migrating from Jest painless, with codemods, faster tests, native ESM, browser testing, and a better DX.

Onuorah Bonaventure
Dec 18, 2025 ⋅ 15 min read
type vs interface typescript

Types vs. interfaces in TypeScript

Learn when to use TypeScript types vs. interfaces, with practical guidance on React props, advanced mapped and template literal types, performance tradeoffs, and common pitfalls.

Yan Sun
Dec 18, 2025 ⋅ 12 min read

I tested 5 AI CLI tools: Here’s how they stack up

A hands-on comparison of five AI coding CLIs, tested by building the same React Todo app.

Emmanuel John
Dec 18, 2025 ⋅ 10 min read
the replay december 17

The Replay (12/17/25): React2Shell, Shopify Winter ‘26, and more

Discover what’s new in The Replay, LogRocket’s newsletter for dev and engineering leaders, in the December 17th issue.

Matt MacCormack
Dec 17, 2025 ⋅ 34 sec read
View all posts

One Reply to "Make sharing TypeScript code and types quick and easy"

  1. Interesting article. Compilers/transpilers/linters are awesome. Coming from C/C++ myself, it is easy to try and become a compiler instead of having one do that job for you.

    DRY is an anti-pattern. But the modularity you mention is SOLID + KISS principle.

    I highly recommend checking out deno and getting react to run under it. There is even a npm package that installs deno to node_modules so you can migrate away from node at your own pace. Deno is created by Ryan Dahl, the creator of node.

Leave a Reply

Would you be interested in joining LogRocket's developer community?

Join LogRocket’s Content Advisory Board. You’ll help inform the type of content we create and get access to exclusive meetups, social accreditation, and swag.

Sign up now