-
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
🤞 phase/openPost is being triaged manuallyPost is being triaged manually
Description
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and discussions and couldn’t find anything (or linked relevant results below)
Problem
It's not clear how to write type safe configurations like:
import validateLinks from 'remark-validate-links'
export default {
plugins: [[validateLinks, 2]], // how to infer type of `Options` from `validateLinks` here
}
Current solutions
N/A
Proposed solutions
// @ts-check
/** @import { Config } from 'remark' */
/** @type { Config } */
export default {}
Metadata
Metadata
Assignees
Labels
🤞 phase/openPost is being triaged manuallyPost is being triaged manually