Skip to content

Instantly share code, notes, and snippets.

Brie brieb

  • San Francisco, CA
Block or report user

Report or block brieb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View PropsType.ts
import PropTypes from 'prop-types';
type Omit<T, K> = Pick<T, Exclude<keyof T, K>>;
type Defined<T> = T extends undefined ? never : T;
/**
* Get the type that represents the props with the defaultProps included.
*
* Alternatively, we could have done something like this:
View test.py
def run():
print "hello, world"
You can’t perform that action at this time.