-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
feat(): type definition for signale #25
feat(): type definition for signale #25
Conversation
+1 |
index.d.ts
Outdated
export interface Stream { } | ||
export interface Config { displayScope?: Boolean; displayBadge?: Boolean; displayDate?: Boolean; displayFilename?: Boolean; displayLabel?: Boolean; displayTimestamp?: Boolean; underlineLabel?: Boolean; underlineMessage?: Boolean; underlinePrefix?: Boolean; underlineSuffix?: Boolean; uppercaseLabel?: Boolean; } | ||
export interface Options { times?: Times; types: Types; stream?: Stream; scope?: String; } | ||
export interface CompleteArrgumentType { prefix?: String; message: String; suffix?: String; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have misspelt argument. Unless you're a pirate ☠️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jordrake Can you tell me which one I misspelled? 😕
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CompleteArrgumentType
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Cludch and @jordrake Thanks for pointing me. Now, this is fixed.
Hey @rjoydip @klauscfhq, As mentioned on #39, I accidentally started work on my own version of the type declarations without checking here if someone had done it first. It's currently awaiting PR on DefinitelyTyped, but I can port them over here and I'd be glad to contribute to this PR if needed. :) Thanks! |
@resir014 Your type declarations is far better than my one. So if you give me the permission then I will take your code in here. Once it merged then anybody can extend. Otherwise, I will close this and you can make new PR. |
@rjoydip Sure, no problem :) And feel free to add your name + github to the header as well. |
@resir014 Thank you so much. |
Awesome. |
@rjoydip Alright, that's all that I could review for today, I need to go to bed. I'll have another look tomorrow, but IMO this should be good to merge for now. |
Yes. @resir014 Thanks once again. It couldn't be good without your help. |
As described in issue #42. When i was checking have to check this one |
@rjoydip Alright. If you want me to, you can also give me push access to your fork and I can work on it as well. :) |
@resir014 Please check it I gave you the access. |
We no longer need them as we already base everything off of tsconfig
Thanks @rjoydip! I'm going to make a few changes:
|
Not sure if this ordering is necessary, but let's use it anyway.
No problem. Change it |
It's done. :)
…On Mon, 11 Jun 2018, 12:43 Joydip Roy, ***@***.***> wrote:
No problem. Change it
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#25 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AFZsha5OjDET77iS5wOAD3LXVCP-nL-5ks5t7gOUgaJpZM4UPWTH>
.
|
types/signale.d.ts
Outdated
}; | ||
|
||
export = signale; | ||
export as namespace signale; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed. 👌
@klauscfhq this should be ready to review 👌 |
Hello, any updates on this? I would love to have this in my project. |
@Eke Hi, I'm still pushing for this to be merged as well. I've updated the typings with the missing config objects from version 1.2.0 and now this should be ready for @klauscfhq to review and merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you all a lot for taking the time to contribute and work on this one!
Type definition for Signal.