//// [expandoFunctionContextualTypes.ts]
interface MyComponentProps {
    color: "red" | "blue"
}

interface StatelessComponent<P> {
    (): any;
    defaultProps?: Partial<P>;
}

const MyComponent: StatelessComponent<MyComponentProps> = () => null as any;

MyComponent.defaultProps = {
    color: "red"
};


//// [expandoFunctionContextualTypes.js]
var MyComponent = function () { return null; };
MyComponent.defaultProps = {
    color: "red"
};
