diff --git a/packages/perseus/src/index.ts b/packages/perseus/src/index.ts index f16c1ecaf3..3c43155d69 100644 --- a/packages/perseus/src/index.ts +++ b/packages/perseus/src/index.ts @@ -37,8 +37,9 @@ export {default as TableWidget} from "./widgets/table"; export {default as PlotterWidget} from "./widgets/plotter"; export {default as GrapherWidget} from "./widgets/grapher"; -// Some utils in grapher/utils don't need to be used outside of `perseus`, -// so only export the stuff that does need to be exposed +// Some utils in grapher/utils and scoring don't need to be used outside of +// `perseus`, so only export the stuff that does need to be exposed +import {keScoreFromPerseusScore} from "./util/scoring"; import { allTypes, DEFAULT_GRAPHER_PROPS, @@ -57,6 +58,10 @@ export const GrapherUtil = { typeToButton, }; +export const ScoringUtil = { + keScoreFromPerseusScore, +}; + /** * Misc */