well yes, but can you do it in types?

Overview

Yes, but can you do it in types?

A collection of challenges which you complete in solely the type system.

Everyone knows you can write code to do things, but can you write the same thing using only types?

Challenges are listed in the src/ directory:

  1. (★★☆☆☆☆) ReverseTuple
  2. (★★★☆☆☆) DeleteCharacter
  3. (★★★★☆☆) MiddleCharacter
  4. (★★☆☆☆☆) IncludesString
  5. (★☆☆☆☆☆) IsNotNumberLiteral
  6. (★☆☆☆☆☆) IsNever
  7. (☆☆☆☆☆☆) MakeExciting
  8. (★★★☆☆☆) PeriodsToUnderscores
  9. (★★★★★☆) MergeSort
  10. (★★★☆☆☆) NoOverlappingKeys
  11. (★★☆☆☆☆) IsEven
  12. (★★★☆☆☆) EachAsSingle
  13. (★★☆☆☆☆) SwapIndices

Some common utility types you may use in your solutions are provided in src/utility:

Testing-related types and mock data can be found in src/common:

For easier browsing of the available challenges, visit the GitHub pages here.

You might also like...

This is a project that is used to execute python codes in the web page. You can install and use it in django projects, You can do any operations that can be performed in python shell with this package.

Django execute code This is a project that is used to execute python codes in the web page. You can install and use it in django projects, You can do

Nov 12, 2022

A simple To-Do List app built using JavaScript, where users can add, edit and remove tasks from the list as well as marking them as completed.

To-Do List This is a to-do list application. Built With Languages: HTML5 & CSS3 JavaScript Preprocessors: Sass Technologies: Webpack Conventions and M

Jun 25, 2022

Evolve is an online investment portfolio management system where users can keep track of all the assets that they have invested in and how well their assets are performing.

Evolve is an online investment portfolio management system where users can keep track of all the assets that they have invested in and how well their assets are performing.

Evolve is an online investment portfolio management system where users can keep track of all the assets that they have invested in and how well their assets are performing.

Oct 16, 2022

The brand new @shopify/flash-list high performance list component can be used on TV as well as on phones!

FlashListTV The brand new @shopify/flash-list high performance list component can be used on TV as well as on phones! Quick start: Clone this repo Cha

Oct 27, 2022

To Do list is a small but useful project to make list app , you can add tasks delete tasks and modify tasks, the project built using HTML, CSS, JavaScript

Project Name The To-Do-List app description this is a project in the second week of the second module in microverse. its a useful to do list that save

Jul 25, 2022

The website which can help you to organize your daily or weekly activities and review them when you need them. you can add, remove and delete an activity

To Do list To do project is webpack project that list activities someone can do at a specific time In this TO-DO list, you can add or remove you activ

Jul 21, 2022

🌐 How well do you know your top-level domains (TLDs)?

TLD-quiz How well do you know your top-level domains (TLDs)? Sure, you know .com and .net. It's not your first time on the Web. You might even know .i

Apr 27, 2022

A component to quickly choose fonts from Google Web Fonts, custom fonts you (the web developer) provide, as well as system fonts.

A component to quickly choose fonts from Google Web Fonts, custom fonts you (the web developer) provide, as well as system fonts.

Fontpicker jQuery Plugin A component to quickly choose fonts from Google Web Fonts, custom fonts you (the web developer) provide, as well as system fo

Dec 3, 2022
Comments
  • hide solutions

    hide solutions

    I did this to make it a bit more fun for me and my coworkers to work through; feel free to close if it doesn't fit your vision of how you want to lay it out / present it

    opened by peter-afs 0
Owner
catgirlkelly
highschool typescript fanatic
catgirlkelly
Compile-time tests for types. Useful to make sure types don't regress into being overly-permissive as changes go in over time.

expect-type Compile-time tests for types. Useful to make sure types don't regress into being overly-permissive as changes go in over time. Similar to

Misha Kaletsky 82 Jan 8, 2023
HTML page to show yes to questions like isSleeping, isCovidPositive, isDrinkingTea using sheetDB

is-doing-x.user.domain The ideal way to use yes is to fork this repo and host it on <activity>.<domain>, and make a Google Sheet Tab with name domain

Aashutosh Rathi 1 Jan 27, 2022
My terrible attempt at a promposal. Update: She said yes LMFAO Update Update: I got friendzoned right after 😭

TypeScript Next.js example This is a really simple project that shows the usage of Next.js with TypeScript. Deploy your own Deploy the example using V

John Li (Tet) 7 Oct 27, 2022
Create Bootstrap 5 Modal Box using JavaScript with custom title, description, button labels and custom YES button callback

Dynamic BS5 Modal Box Create Bootstrap 5 Modal Box using JavaScript with custom title, description, button labels and custom YES button callback Insta

null 5 Oct 23, 2022
You can easily create the horizontal timeline with two types by using this jQuery plugin.

jQuery.Timeline V2 You are able to easily create two types of horizontal timeline with this jQuery plugin. Report bug · Request feature · Blog Table o

ka2 222 Dec 9, 2022
Read without losing the plot. Well Read helps you organize your notes about books you're reading, so you're never lost when starting a new volume.

Well Read Well Read is a website for tracking your reading of long book series. I made this to track how many pages I read in a session and to better

null 3 Dec 15, 2022
The awesomebooks project is a simple list, but separated into 3 parts and given a retro feel. The main page is where we can add books, and on another page we can see the list, and remove items. There is also a "contact-us" page.

Awesome Books This is the restructured version of the famous awesome-books project! Here you can find JavaScript broken into modules, using import-exp

Matt Gombos 12 Nov 15, 2022
A little utility type package that allows you to access the current TypeScript version from your types.

@phryneas/ts-version A little utility type package that allows you to access the current TypeScript version from your types. import { TSVersion } from

Lenz Weber-Tronic 11 Sep 4, 2022