mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
core: minor changes
This commit is contained in:
@@ -21,7 +21,7 @@ import { Cipher, DataFormat, SerializedKey } from "@notesnook/crypto";
|
||||
import { KVStorage } from "./database/kv";
|
||||
|
||||
export type Output<TOutputFormat extends DataFormat> =
|
||||
TOutputFormat extends Omit<DataFormat, "uint8array"> ? string : Uint8Array;
|
||||
TOutputFormat extends "uint8array" ? Uint8Array : string;
|
||||
export type FileEncryptionMetadata = {
|
||||
chunkSize: number;
|
||||
iv: string;
|
||||
|
||||
Reference in New Issue
Block a user