mathup
mathup copied to clipboard
Typescript definitions
Hi and thanks for making this library!
Would be great if the library provided typescript definitions for the API.
Here's the simplest $types.d.ts that I came up with:
declare module 'mathup' {
export function mathup(input: string, options: {});
export default mathup;
}
and it works for my case, but it should probably be expanded more.
Fixed in #122
Released in v1.0.0-rc.3