Make auth property on GitHubApiDetails optional

This commit is contained in:
Michael B. Gale
2026-10-13 15:32:43 +01:00
parent e0625309c3
commit a2438139ce
4 changed files with 41 additions and 38 deletions

View File

@@ -38,7 +38,7 @@ export type GitHubInstance = {
/** Represents a {@link GitHubInstance} with a token for accessing the API. */
export type GitHubApiDetails = GitHubInstance & {
/** The token to use for accessing the API of the GitHub instance. */
auth: string;
auth?: string;
};
/**