From 255907fef757741b68838084fb1337c9429d2f93 Mon Sep 17 00:00:00 2001 From: Niklas Lindgren Date: Thu, 11 Apr 2019 11:35:02 +0100 Subject: [PATCH] fix: `type` and `size` are `readonly` properties --- types/node-fetch/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/node-fetch/index.d.ts b/types/node-fetch/index.d.ts index b269e4d465..78363bfb7d 100644 --- a/types/node-fetch/index.d.ts +++ b/types/node-fetch/index.d.ts @@ -125,8 +125,8 @@ interface BlobOptions { export class Blob { constructor(blobParts?: BlobPart[], options?: BlobOptions); - type: string; - size: number; + readonly type: string; + readonly size: number; slice(start?: number, end?: number): Blob; }