# How We Built Tinybird's TypeScript SDK for ClickHouse

DevFeed: [How We Built Tinybird's TypeScript SDK for ClickHouse](<https://devfeed.tech/articles/how-we-built-tinybird-s-typescript-sdk-for-clickhouse-18448.md>)

Original publisher: [Read original article](<https://www.tinybird.co/blog/clickhouse-typescript-sdk>)

Author: Rafa Moreno

Published: 2026-02-19T00:00:00Z

Content type: article

Language: en

Sources: [Tinybird](<https://devfeed.tech/sources/tinybird.md>)

Topics: [SDK](<https://devfeed.tech/topics/sdk.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [clickhouse](<https://devfeed.tech/topics/clickhouse.md>), [Development](<https://devfeed.tech/topics/development.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [clickhouse](<https://devfeed.tech/tags/clickhouse.md>), [data](<https://devfeed.tech/tags/data.md>), [dev](<https://devfeed.tech/tags/dev.md>), [engineering-excellence](<https://devfeed.tech/tags/engineering-excellence.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

## AI overview

An article explains how Tinybird built its TypeScript SDK for ClickHouse, covering phantom types for compile-time inference, esbuild for schema loading, and a development workflow connecting the application and data layer.

## Source excerpt

How we built the Tinybird TypeScript SDK: phantom types for compile-time inference, esbuild for schema loading, and a dev workflow that connects your app and data layer.