Skip to content

Export added for top level declaration #464

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

Closed
wants to merge 1 commit into from
Closed

Export added for top level declaration #464

wants to merge 1 commit into from

Conversation

frkcn
Copy link

@frkcn frkcn commented Jan 29, 2020

Tslint says: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.

This PR resolve this issue adding export to top level declaration in d.ts file.

Tslint says: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.

This PR resolve this issue adding export to top level declaration in d.ts file.
@frkcn frkcn requested a review from Akryum January 29, 2020 12:58
@ltakato
Copy link

ltakato commented Feb 7, 2020

@frkcn amazing! for now, i'm importing with "require" to workaround this.

@cristianireyes
Copy link

Hello, there is already a pull request(#462 ) that solved the error described(#459 ). Let's avoid creating duplicates to facilitate the support of the maintainers.

@suhrab
Copy link

suhrab commented Apr 12, 2020

Confirm this PR is OK

@seyfer
Copy link

seyfer commented Dec 3, 2020

@Akryum merge please? :)

@backbone87
Copy link

please close this MR. the fix is incorrect (it changes the public interface of the module).

#464 is correct, by using declare instead of export

@Akryum
Copy link
Owner

Akryum commented Dec 30, 2020

Duplicate of #462

@Akryum Akryum marked this as a duplicate of #462 Dec 30, 2020
@Akryum Akryum closed this Dec 30, 2020
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.

7 participants