Skip to content

Commit

Permalink
Removing writeCopyTo overload (#5008)
Browse files Browse the repository at this point in the history
This removes the types for the overload that got removed with #4987
  • Loading branch information
kraenhansen committed Oct 18, 2022
1 parent 0a35045 commit 7674954
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1253,17 +1253,6 @@ declare class Realm {
*/
compact(): boolean;

/**
* Write a copy of a realm at the destination path. Any user will be able to open and use
* the new copy. Copying a synced realm will create a snapshot of the realm that can be
* opened to resume syncing from the server. Synced realms must be fully synchronized with
* the server before calling `writeCopyTo`.
* @param path destination path
* @param encryptionKey encryption key to use
* @returns void
*/
writeCopyTo(path: string, encryptionKey?: ArrayBuffer | ArrayBufferView): void;

/**
* Writes a compacted copy of the Realm with the given configuration.
*
Expand Down

0 comments on commit 7674954

Please sign in to comment.