Remove unnecessary exports of file-local helpers
Remove the `export` keyword from functions that are only used within their own file and are not part of any package's public API: - `parseStringsParam` and `isOrder` in notifications-backend - `toWeb` in backend-defaults urlReader - `resolvePublicPath` in app-backend Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Made-with: Cursor
This commit is contained in:
@@ -42,7 +42,7 @@ export function responseToReadable(response: Response): Readable {
|
||||
// The NodeJS ReadableStream is that fetch returns is super basic and not even
|
||||
// iterable. This function converts it to the smarter, iterable stream/web
|
||||
// variant instead.
|
||||
export function toWeb(
|
||||
function toWeb(
|
||||
responseBody: ReadableStream<Uint8Array>,
|
||||
): WebReadableStream<Uint8Array> {
|
||||
const reader = responseBody.getReader();
|
||||
|
||||
Reference in New Issue
Block a user