ronami/HypeScript
ronami/HypeScript has 1,965 GitHub stars and 24 forks. GitHot measured 0 stars in 24 hours, -3 in 7 days, and -2 in 15 days. Last checked 2026-11-24 09:01 UTC. Last push 2025-02-07.
实测星标增长
- 24小时
- 0
- 7天
- -3
- 15天
- -2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
关于
🐬 使用 TypeScript 类型系统编写的 TypeScript 类型系统简化实现
学习资源README.md
原文🐬 HypeScript
Introduction
This is a simplified implementation of TypeScript'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 the TypeCheck 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.
Try running the code
See a live demo in your browser on the TypeScript Playground.
Alternatively, install @ronami/hypescript in your project with yarn or npm (TypeScript 4.7 or later is required):
yarn add @ronami/hypescript
Code examples
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:
- Variables
- Functions
- Arrays
- Objects
- Methods
- Function return type
- Equality
- Arithmetic operations
- Global types
Inspiration
- 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
探索相关项目
加载中…