Fix build · unifiedjs/unified@fe6f00d

2 files changed

lines changed

Original file line numberDiff line numberDiff line change

@@ -220,7 +220,6 @@ test('`freeze`', async function (t) {

220220

* @type {import('unified').Plugin<[], string, import('unist').Node>}

221221

*/

222222

function parse() {

223-

// type-coverage:ignore-next-line -- something with TS being wrong.

224223

this.parser = simpleParser

225224

}

226225

@@ -229,6 +228,5 @@ function parse() {

229228

* @type {import('unified').Plugin<[], import('unist').Node, string>}

230229

*/

231230

function compile() {

232-

// type-coverage:ignore-next-line -- something with TS being wrong.

233231

this.compiler = simpleCompiler

234232

}

Original file line numberDiff line numberDiff line change

@@ -64,7 +64,6 @@ test('`processSync`', async function (t) {

6464

* @type {import('unified').Plugin<[], string, import('unist').Node>}

6565

*/

6666

function parse() {

67-

// type-coverage:ignore-next-line -- something with TS being wrong.

6867

this.parser = simpleParser

6968

}

7069

@@ -73,6 +72,5 @@ function parse() {

7372

* @type {import('unified').Plugin<[], import('unist').Node, string>}

7473

*/

7574

function compile() {

76-

// type-coverage:ignore-next-line -- something with TS being wrong.

7775

this.compiler = simpleCompiler

7876

}