-
-
Notifications
You must be signed in to change notification settings - Fork 43
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 interface of Raw nodes to make them extendable again #66
Conversation
@@ -1,10 +1,9 @@ | |||
import type {Literal} from 'hast' | |||
|
|||
export type Raw = { | |||
export interface Raw extends Literal { |
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.
Please check your change locally, as I believe npm test
will overwrite your changes. To keep them, include the needed xo
ignore.
For why, see https://github.com/xojs/xo/releases/tag/v0.52.0.
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 see now, thanks. I did run npm test
, but expected it to cause the script to fail and didn't think to check to see if it overwrote the files. I've added back the eslint-diable
/eslint-enable
block.
This comment has been minimized.
This comment has been minimized.
Released in 12.2.2! |
Initial checklist
Description of changes
Resolves #65.
This PR expands the
eslint-ignore
block introduced in d97bcbd to include theRaw
interface to make it compatible with other declarations of theRaw
type in other packages.