Skip to content

Commit

Permalink
remove typing from generic Lens as we cannot cope with it as of now
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffen Slavetinsky committed Oct 27, 2023
1 parent 5cdc41b commit 7c6dd71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lenses/RougeScoreLens.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'twin.macro';
import rouge from 'rouge';
import { formatNumber } from '../dataformat';

const RougeScoreLens: Lens<string> = ({ values }) => {
const RougeScoreLens: Lens = ({ values }) => {
const rouge1 = rouge.n(values[0], values[1], 1);
const rouge2 = rouge.n(values[0], values[1], 2);
return (
Expand Down

0 comments on commit 7c6dd71

Please sign in to comment.