Skip to content

Instantly share code, notes, and snippets.

@scamden
scamden / SassMeister-input.scss
Created January 7, 2015 01:02
Generated by SassMeister.com.
// ----
// libsass (v3.1.0-beta)
// ----
@mixin addLeft($one, $two){
left : $one + $two;
}
@mixin addTop($one, $two){
top : $one + $two;

Keybase proof

I hereby claim:

  • I am scamden on github.
  • I am sterling (https://keybase.io/sterling) on keybase.
  • I have a public key whose fingerprint is 7071 C7E2 857E 9652 C9B4 B155 C2A8 65FD F8A2 42C1

To claim this, I am signing this object:

/**
* Converts null values in a simple JS value to undefined.
* Useful to parse responses from graphql and erase the (arguably) useless distinction between
* a property not having been requested vs. having been requsted and truly not existing.
*
* Will ignore dates, regexes, functions, maps, and sets
* but any other object type will have it's properties recursively converted.
*/
export type NullToUndefined<T> = T extends null
? undefined