Snowflyt / aot-2023-solutions

My solutions for the Advent of TypeScript 2023 hosted by TypeHero.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AOT-2023 Solutions

My solutions for the Advent of TypeScript 2023 hosted by TypeHero.

English | 简体中文

Usage

Install dependencies:

npm install
# Or
yarn
# Or
pnpm install

This project uses Typroof to test TypeScript type definitions. It is a CLI tool similar to tsd, but use BDD-style assertions like in Jest or Vitest. It is also faster, more flexible and more lightweight than tsd, WYSIWYG, and you can even define your only assertion methods. See its documentation for more details.

After installing dependencies, you can run the following command to use Typroof to test type definitions:

npx typroof
# Or
npm run test-types
# Or
yarn test-types

About

My solutions for the Advent of TypeScript 2023 hosted by TypeHero.

License:MIT License


Languages

Language:TypeScript 97.4%Language:JavaScript 2.6%