Skip to content

Commit 0838878

Browse files
committed
lint: fix
1 parent fefe176 commit 0838878

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/mdast-util-to-markdown.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function track(options_: any) {
2020
/**
2121
* Get the current tracked info.
2222
*
23-
* @returns {{now: Point, lineShift: number}}
23+
* @returns {{now: Point, lineShift: number}} Current tracked info
2424
*/
2525
function current() {
2626
return { now: { line, column }, lineShift }
@@ -39,7 +39,7 @@ function track(options_: any) {
3939
* Move past a string.
4040
*
4141
* @param {string} value
42-
* @returns {string}
42+
* @returns {string} The string with the tracked info
4343
*/
4444
function move(value = '') {
4545
const chunks = value.split(/\r?\n|\r/g)
@@ -86,7 +86,7 @@ export function inlineContainerFlow(parent: any, context: any, safeOptions = {})
8686
* @param {Parent} parent
8787
* @param {Context} context
8888
* @param {TrackFields} safeOptions
89-
* @returns {string}
89+
* @returns {string} The string with the tracked info
9090
*/
9191
export function containerFlow(parent: any, context: any, safeOptions = {}) {
9292
const indexStack = context.indexStack
@@ -129,7 +129,7 @@ export function containerFlow(parent: any, context: any, safeOptions = {}) {
129129
/**
130130
* @param {Node} left
131131
* @param {Node} right
132-
* @returns {string}
132+
* @returns {string} The string with the tracked info
133133
*/
134134
function between(left: any, right: any) {
135135
let index = context.join.length
@@ -232,7 +232,7 @@ export function containerPhrasing(parent: any, context: any, safeOptions: any) {
232232
// import { checkQuote } from 'mdast-util-to-markdown/lib/util/check-quote.js'
233233
/**
234234
* @param {Context} context
235-
* @returns {Exclude<Options['quote'], undefined>}
235+
* @returns {Exclude<Options['quote'], undefined>} The quote
236236
*/
237237
export function checkQuote(context: any) {
238238
const marker = context.options.quote || '"'

0 commit comments

Comments
 (0)