Skip to content

Commit

Permalink
Fixed minor spelling issues
Browse files Browse the repository at this point in the history
I was reading through index.d.ts because I am going to try to eventually resolve the issue of matrix sum in a higher dimension returning another matrix.
  • Loading branch information
deflucaseng committed May 25, 2024
1 parent ec9eb9f commit f07c903
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion types/EXPLANATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Maintaining the TypeScript types is done manually. When adding a function, one h
3. Add a static definition inside `export const {...} : MathJsInstance`
4. Add a dependencies definition inside `export const {...} : Record<string, FactoryFunctionMap>`

For exampe for the function `add`, we can have the following definitions:
For example for the function `add`, we can have the following definitions:

```ts
// instance
Expand Down
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4523,7 +4523,7 @@ export interface MathJsChain<TValue> {
/**
* Parse an expression. Returns a node tree, which can be evaluated by
* invoking node.evaluate();
* @param options Available options: nodes - a set of custome nodes
* @param options Available options: nodes - a set of custom nodes
*/
parse(
this: MathJsChain<MathExpression>,
Expand Down

0 comments on commit f07c903

Please sign in to comment.