From 04b737a943747ab75eaef6d3b6949b051a2a59e0 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Tue, 1 Aug 2023 17:44:28 +0100 Subject: [PATCH] chore: use ts-ignore for go-ipfs import The next version of npm-go-ipfs has types so the @ts-expect-error prevents using the pre-release version of npm-go-ipfs. --- packages/interop/test/fixtures/create-kubo.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/interop/test/fixtures/create-kubo.ts b/packages/interop/test/fixtures/create-kubo.ts index 52ed76e..f461223 100644 --- a/packages/interop/test/fixtures/create-kubo.ts +++ b/packages/interop/test/fixtures/create-kubo.ts @@ -1,5 +1,6 @@ -// @ts-expect-error no types +/* eslint-disable @typescript-eslint/ban-ts-comment,@typescript-eslint/prefer-ts-expect-error */ +// @ts-ignore no types - TODO: remove me once the next version of npm-go-ipfs has shipped import * as goIpfs from 'go-ipfs' import { type Controller, type ControllerOptions, createController } from 'ipfsd-ctl' import * as kuboRpcClient from 'kubo-rpc-client'