my-lib/typings/React.ts
export namespace React { export interface ReactNode {}; export interface CSSProperties {}; }