@khanacademy/perseus-core
Advanced tools
Comparing version 0.0.0-PR2227-20250211223717 to 0.0.0-PR2229-20250211233425
@@ -650,3 +650,3 @@ /** | ||
allowReflexAngles: boolean; | ||
match?: "congruent"; | ||
match: "congruent"; | ||
coords: [Coord, Coord, Coord]; | ||
@@ -653,0 +653,0 @@ }; |
@@ -91,3 +91,2 @@ export type { PerseusAnalyticsEvent, AnalyticsEventHandlerFn } from "./analytics"; | ||
export { default as getExpressionPublicWidgetOptions } from "./widgets/expression/expression-util"; | ||
export { default as getGrapherPublicWidgetOptions } from "./widgets/grapher/grapher-util"; | ||
export { default as getInteractiveGraphPublicWidgetOptions } from "./widgets/interactive-graph/interactive-graph-util"; | ||
@@ -102,3 +101,1 @@ export { default as getLabelImagePublicWidgetOptions } from "./widgets/label-image/label-image-util"; | ||
export { default as getIFramePublicWidgetOptions } from "./widgets/iframe/iframe-util"; | ||
export { default as getMatrixPublicWidgetOptions } from "./widgets/matrix/matrix-util"; | ||
export { default as getPlotterPublicWidgetOptions } from "./widgets/plotter/plotter-util"; |
@@ -9,2 +9,1 @@ import { ErrorTrackingParseContext } from "../error-tracking-parse-context"; | ||
export declare function summonParsedValue<P extends Parser<any>>(): ParsedValue<P>; | ||
export declare function summon<T>(): T; |
@@ -16,9 +16,2 @@ export type Result<S, F> = Success<S> | Failure<F>; | ||
export declare function assertSuccess<S, F>(result: Result<S, F>): asserts result is Success<S>; | ||
/** | ||
* @returns a function that transforms the `detail` value of any Failure result | ||
* passed to it, and leaves Success results unchanged. `mapFailure` is curried | ||
* for easy composition with Array.map(), mu-lambda's pipe(), etc. | ||
* @param f the function to apply to Failure `detail`s. | ||
*/ | ||
export declare function mapFailure<S, DetailIn, DetailOut>(f: (detail: DetailIn) => DetailOut): (result: Result<S, DetailIn>) => Result<S, DetailOut>; | ||
export declare function all<S, F>(results: Array<Result<S, F>>, combineFailureDetails?: (a: F, b: F) => F): Result<S[], F>; |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "0.0.0-PR2227-20250211223717", | ||
"version": "0.0.0-PR2229-20250211233425", | ||
"publishConfig": { | ||
@@ -9,0 +9,0 @@ "access": "public" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1530929
152
12738