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

Typings: fix compilation error #25

Merged
merged 1 commit into from
Aug 18, 2021
Merged

Conversation

yosiat
Copy link
Contributor

@yosiat yosiat commented Jun 8, 2021

index.d.ts:4:1 - error TS1046: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.

4 namespace GracefulExit {

fixes - #24

```
index.d.ts:4:1 - error TS1046: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.

4 namespace GracefulExit {
```
@ivolucien
Copy link
Collaborator

@yosiat - I haven't used that declare syntax, is that for use as a script? I see a note about "ambient namespaces" in the ts docs but I can't tell if this change would work for all users everywhere...

Thoughts or pointers to help get me up to speed on this?

@benny-medflyt
Copy link

Please merge this, it fixes typescript support

@ivolucien ivolucien merged commit 818ef9a into emostar:master Aug 18, 2021
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