Skip to content

Commit

Permalink
Export RocksDB and RocksDBP interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
CMCDragonkai committed Jun 30, 2022
1 parent a06ccdf commit cb25e1f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rocksdb/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export { default as rocksdb } from './rocksdb';
export { default as rocksdbP } from './rocksdbP';
export type { RocksDB } from './rocksdb';
export type { RocksDBP } from './rocksdbP';
export * from './types';
2 changes: 2 additions & 0 deletions src/rocksdb/rocksdb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,3 +274,5 @@ interface RocksDB {
const rocksdb: RocksDB = nodeGypBuild(path.join(__dirname, '../../'));

export default rocksdb;

export type { RocksDB };
2 changes: 2 additions & 0 deletions src/rocksdb/rocksdbP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,3 +287,5 @@ const rocksdbP: RocksDBP = {
};

export default rocksdbP;

export type { RocksDBP };

0 comments on commit cb25e1f

Please sign in to comment.