{ props: P; constructor(props: P); } type CompClass
= new (props: P) => Comp
; declare function myHoc
(C: CompClass
): CompClass
;
type GenericProps = (props: P) => {};
declare const myHoc1: (C: Component ) => Component ;
declare const myHoc2: (C: Component ) => Component ;
declare const MyComponent1: Component<{ foo: 1 }>;
const enhance = pipe(
myHoc1,
myHoc2,
);
const MyComponent2 = enhance(MyComponent1);
// #29904.2
const fn20 = pipe((_a?: {}) => 1);
// #29904.3
type Fn = (n: number) => number;
const fn30: Fn = pipe(
x => x + 1,
x => x * 2,
);
const promise = Promise.resolve(1);
promise.then(
pipe(
x => x + 1,
x => x * 2,
),
);
// #29904.4
declare const getString: () => string;
declare const orUndefined: (name: string) => string | undefined;
declare const identity: