qiwi / libdefkit

Utility to produce single file TS and Flow libdefs
MIT License
1 stars 0 forks source link

Pull up internal modules declaration to upper layer #25

Closed antongolub closed 3 years ago

antongolub commented 3 years ago

Before:

// Generated by dts-bundle v0.7.5
// Dependencies for this module:
//   ldapjs-promise-types.d.ts
//   ../../../../../../../ldapjs
//   ../../../../../../../events

declare module '@qiwi/ldap-client/target/es6' {
    import '@qiwi/ldap-client/target/es6/ldapjs-promise-types';
    export * from 'ldapjs-promise';
}

declare module '@qiwi/ldap-client/target/es6/ldapjs-promise-types' {
    module 'ldapjs-promise' {
        import { Change, Control, createClient as _createClient, SearchCallbackResponse, SearchEntryObject, SearchOptions, SearchReference } from 'ldapjs';
        import { EventEmitter } from 'events';
        export * from 'ldapjs';

After:

// Generated by dts-bundle v0.7.5
// Dependencies for this module:
//   ldapjs-promise-types.d.ts
//   ../../../../../../../ldapjs
//   ../../../../../../../events

declare module '@qiwi/ldap-client/target/es6' {
    import '@qiwi/ldap-client/target/es6/ldapjs-promise-types';
    export * from 'ldapjs-promise';
}

declare module 'ldapjs-promise' {
        import { Change, Control, createClient as _createClient, SearchCallbackResponse, SearchEntryObject, SearchOptions, SearchReference } from 'ldapjs';
        import { EventEmitter } from 'events';
        export * from 'ldapjs';

declare module '@qiwi/ldap-client/target/es6/ldapjs-promise-types' {
qiwibot commented 3 years ago

:tada: This issue has been resolved in version 3.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: