Skip to content

Commit

Permalink
Fix the Spacing TypeScript type (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
roydukkey committed Mar 3, 2023
1 parent af821c6 commit cb31d0d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.d.ts
Expand Up @@ -38,10 +38,10 @@ export interface CustomBorderStyle extends BoxStyle {
Spacing used for `padding` and `margin`.
*/
export interface Spacing {
readonly top: number;
readonly right: number;
readonly bottom: number;
readonly left: number;
readonly top?: number;
readonly right?: number;
readonly bottom?: number;
readonly left?: number;
}

export interface Options {
Expand Down

0 comments on commit cb31d0d

Please sign in to comment.