Comparing version 3.1.0 to 3.1.1
/** | ||
* Declare ReadableStream and WritableStream in case dom.d.ts is not added to the tsconfig | ||
* lib causing ReadableStream or WritableStream interface is not defined. | ||
* For developers with dom.d.ts added, the ReadableStream and WritableStream | ||
* interface will be merged correctly. | ||
* | ||
* This is also required for any clients with streaming interface where ReadableStream | ||
* or WritableStream type is also referred. | ||
*/ | ||
declare global { | ||
export interface ReadableStream {} | ||
export interface WritableStream {} | ||
} | ||
/** | ||
* BasicPrimitive | ||
@@ -3,0 +17,0 @@ * @desc Type representing [`BasicPrimitive`](https://www.typescriptlang.org/docs/handbook/release-notes/overview.html#smarter-type-alias-preservation) types in TypeScript |
@@ -15,3 +15,3 @@ { | ||
], | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"types": "lib/index.d.ts", | ||
@@ -37,3 +37,3 @@ "main": "lib/index.js", | ||
"@types/jest": "^29.5.11", | ||
"eslint": "^8.55.0", | ||
"eslint": "^8.56.0", | ||
"jest": "^29.7.0", | ||
@@ -40,0 +40,0 @@ "ts-jest": "^29.1.1", |
31839
884