Skip to content

Commit 8bc5ceb

Browse files
authored
index.d.ts: Fix extends -> implements
Before: ``` node_modules/rn-fetch-blob/index.d.ts:147:43 - error TS2689: Cannot extend an interface 'EventTarget'. Did you mean 'implements'? 147 export declare class PolyfillBlob extends EventTarget { ~~~~~~~~~~~ error Command failed with exit code 1. ``` After: ``` ✨ Done in 3.06s. ```
1 parent ba11d32 commit 8bc5ceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export interface PolyfillProgressEvent extends EventTarget {
144144
total: number;
145145
}
146146

147-
export declare class PolyfillBlob extends EventTarget {
147+
export declare class PolyfillBlob implements EventTarget {
148148
/**
149149
* RNFetchBlob Blob polyfill, create a Blob directly from file path, BASE64
150150
* encoded data, and string. The conversion is done implicitly according to

0 commit comments

Comments
 (0)