Function fsrs

Create a new instance of TS-FSRS

const f = fsrs();
const params: FSRSParameters = generatorParameters({ maximum_interval: 1000 });
const f = fsrs(params);
const f = fsrs({ maximum_interval: 1000 });