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

Improve the typing of the extension-load-queue #10

Closed
makhnatkin opened this issue Sep 3, 2024 · 0 comments · Fixed by #12
Closed

Improve the typing of the extension-load-queue #10

makhnatkin opened this issue Sep 3, 2024 · 0 comments · Fixed by #12

Comments

@makhnatkin
Copy link
Contributor

The src/lib/extension-load-queue.ts describes the mechanism for asynchronous loading of executable scripts using packages. This process is achieved through a queue and by adding a field to the window object. Symbol data types are used to protect against external interference. This mechanism is employed in such extensions as mermaid, LaTeX, and HTML.

The file is described using TypeScript. At the same time, it contains a number of areas that could be improved.

Suggestion for improvement

  1. fix TODO
  2. add docs
  3. move the isBrowser function
@makhnatkin makhnatkin linked a pull request Sep 17, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant