Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Commit

Permalink
fix: ts exporting noissue;
Browse files Browse the repository at this point in the history
  • Loading branch information
cboyce183 committed Mar 24, 2022
1 parent 15acbde commit 7e5a837
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ export {
getPropFilter,
getPropNamesFromPropDefinition,
} from './styleProps';
export {default as removeFalsyProps} from './removeFalsyProps';
export {removeFalsyProps} from './removeFalsyProps';
2 changes: 1 addition & 1 deletion src/utils/removeFalsyProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export interface Props {
[key: string]: unknown;
}

export function removeFalsyProps(object: Props): null | Props {
export default function removeFalsyProps(object: Props): null | Props {
if (!object) return null;

const result = {};
Expand Down

0 comments on commit 7e5a837

Please sign in to comment.