From be6b0101a4b5b67e665391760dc1cc8474e96142 Mon Sep 17 00:00:00 2001 From: Ryan Hart Date: Wed, 30 Aug 2023 11:39:09 -0700 Subject: [PATCH] Fix formatting. --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 4e67da9d..a1727b81 100644 --- a/README.md +++ b/README.md @@ -183,14 +183,14 @@ try { There are several [type guards](https://www.typescriptlang.org/docs/handbook/advanced-types.html#type-guards-and-differentiating-types) provided to distinguish between full and partial API responses. -| Type guard function | Purpose | -| ----------------------- | ------------------------------------------------------------------------------------------- | -| `isFullPage` | Determine whether an object is a full `PageObjectResponse` | -| `isFullBlock` | Determine whether an object is a full `BlockObjectResponse` | -| `isFullDatabase` | Determine whether an object is a full `DatabaseObjectResponse` | -| `isFullPageOrDatabase` | Determine whether an object is a full `PageObjectResponse` or `DatabaseObjectResponse` | -| `isFullUser` | Determine whether an object is a full `UserObjectResponse` | -| `isFullComment` | Determine whether an object is a full `CommentObjectResponse` | +| Type guard function | Purpose | +| ---------------------- | -------------------------------------------------------------------------------------- | +| `isFullPage` | Determine whether an object is a full `PageObjectResponse` | +| `isFullBlock` | Determine whether an object is a full `BlockObjectResponse` | +| `isFullDatabase` | Determine whether an object is a full `DatabaseObjectResponse` | +| `isFullPageOrDatabase` | Determine whether an object is a full `PageObjectResponse` or `DatabaseObjectResponse` | +| `isFullUser` | Determine whether an object is a full `UserObjectResponse` | +| `isFullComment` | Determine whether an object is a full `CommentObjectResponse` | Here is an example of using a type guard: