dts-element-fp
Version:
typescript definition generator for functional programming
16 lines (15 loc) • 688 B
TypeScript
import * as dts from 'dts-element';
import { CreateSelectableSignaturesOptions } from './utils/create-selectable-signatures';
export interface CreateCurriedDeclarationsOptions extends CreateSelectableSignaturesOptions {
selectable?: boolean;
placeholder?: boolean;
get_placeholder_type?: () => string;
get_function_type_name?: (name: string, mask: string) => string;
get_function_parameter_placeholder_name?: (name: string) => string;
inline_return_type?: boolean;
hoist_name?: string;
}
/**
* @hidden
*/
export declare function create_curried_types(name: string, type: dts.IFunctionType, options?: CreateCurriedDeclarationsOptions): dts.ITypeDeclaration[];