Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
CrowdHailer committed Mar 9, 2024
1 parent eed3c5c commit 550fee9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plinth/javascript/compression_stream.gleam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import gleam/javascript/promise.{type Promise}

/// For encoding, pass "gzip" or "deflate"
@target(javascript)
/// For encoding, pass "gzip" or "deflate"
@external(javascript, "../../compression_stream_ffi.mjs", "compress")
pub fn compress(data: BitArray, encoding: String) -> Promise(BitArray)
2 changes: 1 addition & 1 deletion src/plinth/javascript/decompression_stream.gleam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import gleam/javascript/promise.{type Promise}

/// For encoding, pass "gzip" or "deflate"
@target(javascript)
/// For encoding, pass "gzip" or "deflate"
@external(javascript, "../../decompression_stream_ffi.mjs", "decompress")
pub fn decompress(data: BitArray, encoding: String) -> Promise(BitArray)

0 comments on commit 550fee9

Please sign in to comment.