From 64442f922ce4708273d887ee0fef4f0392974896 Mon Sep 17 00:00:00 2001 From: Borewit Date: Wed, 18 Dec 2024 10:22:49 +0100 Subject: [PATCH] Remove `readable`, allowing detector array reassignment --- core.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core.d.ts b/core.d.ts index 9dff850a..25c5aca6 100644 --- a/core.d.ts +++ b/core.d.ts @@ -187,7 +187,7 @@ export declare class FileTypeParser { File-type detectors, initialized with a single entry holding the build in detector function. The array is used to iterate over all detectors, as long as the function returns `undefined`. */ - readonly detectors: Detector[]; + detectors: Detector[]; constructor(options?: {customDetectors?: Iterable; signal?: AbortSignal});