- Notifications
You must be signed in to change notification settings - Fork23
🐬 A simplified implementation of TypeScript's type system written in TypeScript's type system
License
ronami/HypeScript
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a simplified implementation ofTypeScript's type system that's written in TypeScript's type annotations. This means that it uses types only — with no runtime code whatsoever.
You pass TypeScript code as a string to theTypeCheck
generic and get possible type errors back (See the live demo):
☝ Please note that this project is meant to be used for fun and learning purposes and not for practical use.
See a live demo in your browser on theTypeScript Playground.
Alternatively, install@ronami/hypescript
in your project withyarn
ornpm
(TypeScript 4.7 or later is required):
yarn add @ronami/hypescript
Only a subset of TypeScript's syntax and features are available. Here's a list of examples (with browser demo links) for some code examples:
- TypeScripts Type System is Turing Complete
- Functions and algorithms implemented purely with TypeScript's type system
- Typing the Technical Interview in TypeScript
- A collection of TypeScript type challenges with online judge
- Extreme Explorations of TypeScript's Type System
- A SQL database implemented purely in TypeScript type annotations
About
🐬 A simplified implementation of TypeScript's type system written in TypeScript's type system
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Uh oh!
There was an error while loading.Please reload this page.