Skip to content

Conversation

andreash
Copy link

@andreash andreash commented Apr 6, 2023

The d.ts file is missing a module declaration for typescript to work. Without the declaration, typescript does not accept, for example Validator as a constructable expression.

The d.ts file is missing a module declaration for typescript to work
@icebob
Copy link
Owner

icebob commented Apr 9, 2023

Could you show an example when it causes issue?

@erfanium
Copy link
Collaborator

and I guess this will break the module in other runtime like deno. because they don't have such a module concept like what node does.

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.

3 participants