PostHog supports TypeScript apps natively, without you having to compile the TypeScript yourself (although you can also do that).
To build a TypeScript app, you'll probably need some types, so read on.
Installation
To use the types in your app, you can install them as follows:
Terminal
Then, in your apps, you can use them like so:
typescript