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

ace/esm-resolver: no typing available for the module #5206

Closed
RJBrinkman opened this issue Jun 14, 2023 · 0 comments
Closed

ace/esm-resolver: no typing available for the module #5206

RJBrinkman opened this issue Jun 14, 2023 · 0 comments

Comments

@RJBrinkman
Copy link

Describe the bug

When importing the esm-resolver module from ace-code in typescript an error occurs that ace does not export a module named ace-code/esm-resolver.

This module should be exported / declared to allow for correct typings for the esm-resolver module.

Expected Behavior

When importing the ace-code/esm-resolver module a typings should have been made available in either ace.d.ts or ace-modes.d.ts

Current Behavior

No typings are exported for the esm-resolver in any type files.

Reproduction Steps

index.ts:

import * as esmResolver from 'ace-code/esm-resolver';

esmResolver wil have an any type instead of ace/esm-resolver type.

Possible Solution

A module declaration should be added to the ace-modes.d.ts or in a more appropriate place.

Additional Information/Context

No response

Ace Version / Browser / OS / Keyboard layout

Ace-code 1.22.0

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

No branches or pull requests

3 participants