Skip to content

Instantly share code, notes, and snippets.

View qundus's full-sized avatar
🎃
self-improving

Eslam Sharif qundus

🎃
self-improving
  • Lane22 - Mars
  • saudi arabia
View GitHub Profile
@qundus
qundus / keybase.md
Last active March 13, 2024 22:29
keybase.md

Keybase proof

I hereby claim:

  • I am qundus on github.
  • I am qundus_ (https://keybase.io/qundus_) on keybase.
  • I have a public key ASBF-6LaPymkReO1cqoRsFvEMXt9E6alnmR7z0O9ENpRfAo

To claim this, I am signing this object:

@qundus
qundus / types.ts
Last active September 23, 2022 14:57
basic overall type that helps with const/var/let exractions and manipulation #typescript #javascript
/**
* Construct a type that makes non `void` types optional in objects and removes it
* in non object types along with {@link TO} .
* <pre/> it's also possible to :
* - require keys by name
* - ignore deep cyclying by types
* - remove keys by type or name
* - clean type of {@link TR} through {@link C}
* note: deep KR and KO have some issues under strictNullChecks.
* @param T main type, usually coming from an object with public keys.