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

Generate esm-resolver.d.ts to provide intellisense #5213

Merged
merged 2 commits into from
Jun 26, 2023

Conversation

mkslanc
Copy link
Contributor

@mkslanc mkslanc commented Jun 22, 2023

Issue #, if available: #5206

Description of changes:
This auto-generated declaration should enable Intellisense for different IDE's:
image

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov
Copy link

codecov bot commented Jun 22, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (c910951) 87.22% compared to head (4d8aaae) 87.22%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5213   +/-   ##
=======================================
  Coverage   87.22%   87.22%           
=======================================
  Files         565      565           
  Lines       45251    45251           
  Branches     6927     6927           
=======================================
  Hits        39469    39469           
  Misses       5782     5782           
Flag Coverage Δ
unittests 87.22% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@@ -38,4 +41,8 @@ function getModuleNames() {
return paths;
}

function generateDeclaration() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On top level this function names says this is doing something general, but in fact it is generating a very specific declaration, so i'd suggest to move this string inline, where it is used. Also can you use a relative path? and also update pathModules above, which is used for ace-builds .

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@nightwing nightwing merged commit ce4674a into ajaxorg:master Jun 26, 2023
3 checks passed
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 this pull request may close these issues.

None yet

2 participants