Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any plans for adding a typescript definition file? #495

Closed
StingyJack opened this issue Mar 21, 2017 · 4 comments
Closed

Any plans for adding a typescript definition file? #495

StingyJack opened this issue Mar 21, 2017 · 4 comments

Comments

@StingyJack
Copy link

I think I kind of need one, and I'd like to avoid duplicating work if there is already one available (even partially) anywhere.

@tylerlong
Copy link
Collaborator

Nope, it seems that nobody is working on it.

But mermaid's API is crazy simple. I only use these two:

  • mermaid.initialize
  • mermaid.init

You can go ahead and create TS definition for them.

@StingyJack
Copy link
Author

Thanks, that is kind of what I ended up doing and forgot to post it here.

@hydrosquall
Copy link
Contributor

hydrosquall commented May 19, 2021

@nkuehn
Copy link

nkuehn commented Mar 14, 2022

PS on closed issue: The developer experience of creating custom themes would profit a lot from an officially maintained type declaration for the config. The community maintained file is unfortunately far from complete or correct in the Config object.

The top level API is "dead simple", sure. The full nesting of the configuration and theming variables is everything but dead simple.

mgenereu pushed a commit to mgenereu/mermaid that referenced this issue Jun 25, 2022
* chore(deps): bump monaco-editor from 0.30.0 to 0.30.1

Bumps [monaco-editor](https://github.com/microsoft/monaco-editor) from 0.30.0 to 0.30.1.
- [Release notes](https://github.com/microsoft/monaco-editor/releases)
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md)
- [Commits](microsoft/monaco-editor@v0.30.0...v0.30.1)

---
updated-dependencies:
- dependency-name: monaco-editor
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Monaco-editor

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mmorel-35 <mmorel-35@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants