UNPKG

node-irr

Version:

A Node.js package that provides an easy and customizable way to calculate internal rate of return.

10 lines (9 loc) 344 B
import { RootFinderMethod, IRootFinder, RootFinderOptions } from '../definition'; export interface IRootFinderConstructor { new (options: RootFinderOptions): IRootFinder; } export declare class RootFinderFactory { private readonly options; constructor(options: RootFinderOptions); make(method: RootFinderMethod): IRootFinder; }