Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

'mathjaxconfigobject' does not exist in type 'ModuleConfiguration' #19

Open
azamanaza opened this issue Dec 9, 2020 · 0 comments
Open

Comments

@azamanaza
Copy link

azamanaza commented Dec 9, 2020

Argument of type '{ version: string; config: string; hostname: string; mathjaxconfigobject: {}; }' is not assignable to parameter of type 'ModuleConfiguration'.
  Object literal may only specify known properties, and 'mathjaxconfigobject' does not exist in type 'ModuleConfiguration'.ts(2345)

As seen in types

export declare class ModuleConfiguration {
    /**
     * The version of the MathJax library.
     */
    version: string;
    /**
     * The config name of the MathJax library.
     * Please check the MathJax [documentation](https://docs.mathjax.org/en/latest/config-files.html) for all the configuration names.
     */
    config: string;
    /**
     * MathJax CDN hostname. Please check [here](https://docs.mathjax.org/en/latest/start.html#mathjax-cdn) for available CDN servers.
     */
    hostname: string;
}

need to add definition for mathjaxconfigobject.

EDIT:

I cloned your repo, and mathjaxconfigobject is defined in ModuleConfiguration. I think you just need to publish.

EDIT2:
It's already in this merge.
bd884dd

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant