GitXplorerGitXplorer
d

nonad

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
d7011a877ad01176b73f8a85edfcd285837c0ae9

Use typescript nightly for recursive conditional types

ddarichey committed 4 years ago
Verified
cff77ac185c077672762cc1982efdb17b13d457b

Initial commit

ddarichey committed 4 years ago

README

The README file for this repository.

nonad

I'll just find some absurd and very obscure latin-greek word and call it that

sadly "monad" is taken

I'll call it nonad

- ghibli 2k20

Thus, nonad was born.

What is this?

A joke. Mostly.

Nonad is essentially TypeScript's Pick. It allows you to construct a "subset" of a type given keys from that type.

full let's you combine several of these partial types into the "full" version. It requires that every key of the full type can be found between the partials and that none of the partials contain the same key.