-
-
Notifications
You must be signed in to change notification settings - Fork 26
Closed as duplicate of#82
Labels
👎 phase/noPost cannot or will not be acted onPost cannot or will not be acted on👯 no/duplicateDéjà vuDéjà vu
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 {}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
👎 phase/noPost cannot or will not be acted onPost cannot or will not be acted on👯 no/duplicateDéjà vuDéjà vu