Skip to content

Commit

Permalink
Merge pull request #327 from JKobrynski/exportTypes
Browse files Browse the repository at this point in the history
Export ConnectOptions type from package
  • Loading branch information
arosiclair authored Sep 1, 2023
2 parents 7f23ec8 + 93ebdf5 commit 044b178
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/Onyx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,4 +323,4 @@ declare const Onyx: {
};

export default Onyx;
export {OnyxUpdate};
export {OnyxUpdate, ConnectOptions};
4 changes: 2 additions & 2 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Onyx, {OnyxUpdate} from './Onyx';
import Onyx, {OnyxUpdate, ConnectOptions} from './Onyx';
import {CustomTypeOptions, OnyxCollection, OnyxEntry} from './types';
import withOnyx from './withOnyx';

export default Onyx;
export {CustomTypeOptions, OnyxCollection, OnyxEntry, OnyxUpdate, withOnyx};
export {CustomTypeOptions, OnyxCollection, OnyxEntry, OnyxUpdate, withOnyx, ConnectOptions};

0 comments on commit 044b178

Please sign in to comment.