https://github.com/epicweb-dev/type-safety
Harness TypeScript's type system to catch bugs before they happen
https://github.com/epicweb-dev/type-safety
epicweb-dev kcd-edu workshop
Last synced: 3 months ago
JSON representation
Harness TypeScript's type system to catch bugs before they happen
- Host: GitHub
- URL: https://github.com/epicweb-dev/type-safety
- Owner: epicweb-dev
- License: other
- Created: 2026-01-13T07:36:26.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-01-13T16:47:58.000Z (3 months ago)
- Last Synced: 2026-01-13T18:16:03.245Z (3 months ago)
- Topics: epicweb-dev, kcd-edu, workshop
- Language: TypeScript
- Homepage: https://epicweb-dev-type-safety.fly.dev
- Size: 299 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Type Safety 🛡️
Harness TypeScript's type system to catch bugs before they happen
Learn type aliases, interfaces, unions, generics, and type guards—the tools that make TypeScript a powerful ally for writing correct code.
[![Build Status][build-badge]][build]
[![GPL 3.0 License][license-badge]][license]
[![Code of Conduct][coc-badge]][coc]
## Prerequisites
- [Programming Foundations](https://github.com/epicweb-dev/programming-foundations)
workshop
- [Structured Data](https://github.com/epicweb-dev/structured-data) workshop (or
equivalent knowledge)
- Comfort with objects, arrays, and functions in TypeScript
## Pre-workshop Resources
Here are some resources you can read before taking the workshop to get you up to
speed on some of the tools and concepts we'll be covering:
- [TypeScript Handbook - Everyday Types](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html)
- [TypeScript Handbook - Narrowing](https://www.typescriptlang.org/docs/handbook/2/narrowing.html)
- [TypeScript Handbook - Generics](https://www.typescriptlang.org/docs/handbook/2/generics.html)
## System Requirements
- [git][git] v2.18 or greater
- [NodeJS][node] v20 or greater
- [npm][npm] v8 or greater
All of these must be available in your `PATH`. To verify things are set up
properly, you can run this:
```shell
git --version
node --version
npm --version
```
If you have trouble with any of these, learn more about the PATH environment
variable and how to fix it here for [windows][win-path] or
[mac/linux][mac-path].
## Setup
Use the Epic Workshop CLI to get this setup:
```sh nonumber
npx --yes epicshop@latest add type-safety
```
If you experience errors here, please open [an issue][issue] with as many
details as you can offer.
## The Workshop App
Learn all about the workshop app on the
[Epic Web Getting Started Guide](https://www.epicweb.dev/get-started).
[](https://www.epicweb.dev/get-started)
[npm]: https://www.npmjs.com/
[node]: https://nodejs.org
[git]: https://git-scm.com/
[build-badge]: https://img.shields.io/github/actions/workflow/status/epicweb-dev/type-safety/validate.yml?branch=main&logo=github&style=flat-square
[build]: https://github.com/epicweb-dev/type-safety/actions?query=workflow%3Adeploy
[license-badge]: https://img.shields.io/badge/license-GPL%203.0%20License-blue.svg?style=flat-square
[license]: https://github.com/epicweb-dev/type-safety/blob/main/LICENSE
[coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square
[coc]: https://kentcdodds.com/conduct
[win-path]: https://www.howtogeek.com/118594/how-to-edit-your-system-path-for-easy-command-line-access/
[mac-path]: http://stackoverflow.com/a/24322978/971592
[issue]: https://github.com/epicweb-dev/type-safety/issues/new