Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

TypeScript type level fizzbuzz #501

Merged
merged 1 commit into from
Oct 4, 2020
Merged

TypeScript type level fizzbuzz #501

merged 1 commit into from
Oct 4, 2020

Conversation

minajevs
Copy link
Contributor

@minajevs minajevs commented Oct 3, 2020

Finally my procrastination is not a waste of time.

Here's fizzbuzz implementation entirely on TypeScript Type System.

Based on:
TypeScripts Type System is Turing Complete
Gist I made 2 years ago

Try it out right now in the browser:
TypeScript Playground

Hover the mouse above test types (T1 ... T30)

@NullDev
Copy link
Owner

NullDev commented Oct 4, 2020

Damn thats awesome! :D
I'm currently re-evaluating the top 5. Mind if I reference your solution in the top 5 as well?

@NullDev NullDev merged commit b878fb8 into NullDev:master Oct 4, 2020
@minajevs
Copy link
Contributor Author

minajevs commented Oct 4, 2020

Damn thats awesome! :D
I'm currently re-evaluating the top 5. Mind if I reference your solution in the top 5 as well?

@nldev
Sure :)

@NullDev
Copy link
Owner

NullDev commented Oct 4, 2020

Thanks! Added it :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants