-
Notifications
You must be signed in to change notification settings - Fork 2
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
Added typescript definitions #1
base: master
Are you sure you want to change the base?
Conversation
index.d.ts
Outdated
public transform(value: string, tramsform: OtDiff): string; | ||
public insert(value: string, tramsform: OtDiff): string; | ||
public delete(value: string, tramsform: OtDiff): string; | ||
public replace(value: string, tramsform: OtDiff): string; | ||
public noop(value: string, tramsform: OtDiff): 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.
can tramsform
please be changed to transform
?
index.d.ts
Outdated
public noop(value: string, tramsform: OtDiff): string; | ||
} | ||
|
||
export interface IOtOpts { |
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.
nit: Can this be renamed to just OtOpts
to avoid Hungarian notation?
Thank you for the PR! I've left some comments but this is a welcome addition. |
I'm sorry, I must have missed the notification :) |
No description provided.