Skip to content

Conversation

@SachsKaylee
Copy link

No description provided.

index.d.ts Outdated
Comment on lines 14 to 18
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;
Copy link
Owner

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 {
Copy link
Owner

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?

@kieraneglin
Copy link
Owner

Thank you for the PR! I've left some comments but this is a welcome addition.

@SachsKaylee
Copy link
Author

I'm sorry, I must have missed the notification :)
I fixed your comments and also made an adjustment in the export to make it compatible with the latest TypeScript versions

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.

2 participants