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

Fix SanitizerConfig type definition #1456

Merged
merged 9 commits into from
Mar 2, 2021

Conversation

hata6502
Copy link
Contributor

@hata6502 hata6502 commented Dec 3, 2020

@hata6502 hata6502 force-pushed the bugfix/fix-sanitizer-config-type branch 3 times, most recently from b532025 to 75d12ea Compare December 7, 2020 13:10
interface Config {
tags: {
[key: string]: boolean|{[attr: string]: boolean|string}|(() => any)
[key: string]: Option | ((el: HTMLElement) => Option)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By adding el: HTMLElement, escape Type error with callback.

Copy link
Member

@neSpecc neSpecc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR description is not provided

docs/CHANGELOG.md Outdated Show resolved Hide resolved
@@ -3,9 +3,11 @@
* After that we can use it at the TS modules
*/
declare module 'html-janitor' {
type Option = boolean | { [attr: string]: boolean | string };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docs missed

@@ -1,3 +1,5 @@
type Option = boolean | { [attr: string]: boolean | string };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docs are missed

@hata6502
Copy link
Contributor Author

@neSpecc

Sorry, I sent a issue.
#1513

I feel great to install Contribution Inspector!
#1512

@hata6502 hata6502 force-pushed the bugfix/fix-sanitizer-config-type branch from 929573b to 6d0943f Compare January 26, 2021 20:09
@hata6502 hata6502 requested a review from neSpecc January 26, 2021 20:21
@hata6502
Copy link
Contributor Author

@neSpecc
Would you review or edit this PR?

@neSpecc
Copy link
Member

neSpecc commented Feb 18, 2021

Please pull the next branch

@khaydarov
Copy link
Member

@neSpecc I did

@hata6502 hata6502 force-pushed the bugfix/fix-sanitizer-config-type branch from 8f97a6f to 6206f16 Compare February 19, 2021 14:30
@hata6502 hata6502 force-pushed the bugfix/fix-sanitizer-config-type branch from 6206f16 to e1f63e8 Compare February 19, 2021 14:34
@@ -560,7 +560,7 @@ export default class BlockManager extends Module {
* 2) Mark it as current
*
* @param {Node} childNode - look ahead from this node.
* @returns can return undefined in case when the passed child note is not a part of the current editor instance
* @returns {Block | undefined} can return undefined in case when the passed child note is not a part of the current editor instance
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed for yarn lint:fix

@hata6502
Copy link
Contributor Author

Resolved conflicts.

@neSpecc neSpecc merged commit a67e699 into codex-team:next Mar 2, 2021
@hata6502 hata6502 deleted the bugfix/fix-sanitizer-config-type branch March 2, 2021 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants