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

can't surpport Module Augmentation feature #122

Closed
hans000 opened this issue Jul 3, 2021 · 2 comments
Closed

can't surpport Module Augmentation feature #122

hans000 opened this issue Jul 3, 2021 · 2 comments

Comments

@hans000
Copy link

hans000 commented Jul 3, 2021

Module Augmentation

for example

// ./typing.ts
declare module '~/lib/core' {
    interface Foo {
        foo(msg: string): void;
    }
}
// output
// ./dist/typing.d.ts
declare module '~/lib/core' {
    interface Foo {
        foo(msg: string): void;
    }
}
@nonara
Copy link
Collaborator

nonara commented Jul 7, 2021

Great suggestion! I didn't realize that these were resolved in the same way as imports / exports.

Shouldn't be hard to implement. Added to my queue.

@nonara nonara closed this as completed in f9d4994 Jul 13, 2021
@nonara
Copy link
Collaborator

nonara commented Jul 13, 2021

Added in v3.1.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