From cb31d0d689746db8fd74d4304120fe5838395376 Mon Sep 17 00:00:00 2001 From: trent Date: Fri, 3 Mar 2023 09:50:13 -0500 Subject: [PATCH] Fix the `Spacing` TypeScript type (#86) --- index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.d.ts b/index.d.ts index 5c12d85..289e3dd 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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 {