Skip to content

Commit

Permalink
Merge pull request #6683 from nextcloud/renovate/main-typescript
Browse files Browse the repository at this point in the history
chore(deps): update dependency typescript to ^5.7.2 (main)
  • Loading branch information
github-actions[bot] authored Nov 26, 2024
2 parents 8cdb7ad + 4fafac4 commit 6d4aac0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"prosemirror-test-builder": "^1.1.1",
"raw-loader": "^4.0.2",
"rollup-plugin-webpack-stats": "^1.1.1",
"typescript": "^5.6.3",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vite-plugin-commonjs": "^0.10.4",
"vitest": "^2.1.5",
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/base64.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ export function encodeArrayBuffer(data: ArrayBuffer): string {
*
* @param {string} encoded - base64 encoded string to decode
*/
export function decodeArrayBuffer(encoded: string): ArrayBuffer {
export function decodeArrayBuffer(encoded: string): Uint8Array {
return fromBase64(encoded)
}
2 changes: 1 addition & 1 deletion src/services/Outbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default class Outbox {
#syncUpdate = ''
#syncQuery = ''

storeStep(step: Uint8Array) {
storeStep(step: ArrayBuffer) {
const encoded = encodeArrayBuffer(step)
if (encoded < 'AAA' || encoded > 'Ag') {
logger.warn('Unexpected step type:', { step, encoded })
Expand Down

0 comments on commit 6d4aac0

Please sign in to comment.