Skip to content

Commit

Permalink
Made the option optional (#107)
Browse files Browse the repository at this point in the history
I see no reason to pass an empty object if we do not change any default parameters.
  • Loading branch information
AveDemid authored and alexruzzarin committed Jul 29, 2019
1 parent 6dd02dc commit 4730586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const defaultRebootOptions: IRebootOptions = {
tableCellPadding: '0.75rem'
};

export const reboot = (options: IRebootOptions): FlattenSimpleInterpolation => {
export const reboot = (options?: IRebootOptions): FlattenSimpleInterpolation => {
const {
black,
fontFamilyBase,
Expand Down

0 comments on commit 4730586

Please sign in to comment.