-
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
feat: extension events add test case #33
Conversation
✅ Deploy Preview for tisqleditor-playground ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
type FocusChangeHelperOptions = { | ||
onFocusChange: (curSql: SqlStatement[]) => void | ||
} | ||
type FocusChangeHelperOptions = (curSql: SqlStatement[]) => void | ||
|
||
const focusChangeHandler = (change: (curSql: SqlStatement[]) => void) => { |
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.
I feel this extension name onFocusChange
doesn't correspond with what it does. According its name, it should be a common extension works with any kind content, not just SQL.
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.
the rest LGTM
No description provided.