ci: add TypeDoc validation to check:all with treatWarningsAsErrors (#1522)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jonathan Hefner 2026-02-13 11:36:37 -06:00 • committed by GitHub
commit 55857a8f05
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 7 additions and 7 deletions

View file

@ -55,7 +55,7 @@
"prepack": "npm run build",
"lint": "eslint src/ && prettier --ignore-path ../../.prettierignore --check .",
"lint:fix": "eslint src/ --fix && prettier --ignore-path ../../.prettierignore --write .",
"check": "npm run typecheck && npm run lint && pnpm exec -- typedoc --emit none",
"check": "npm run typecheck && npm run lint",
"test": "vitest run",
"test:watch": "vitest",
"start": "npm run server",

View file

@ -193,7 +193,7 @@ export class UnauthorizedError extends Error {
}
}
type ClientAuthMethod = 'client_secret_basic' | 'client_secret_post' | 'none';
export type ClientAuthMethod = 'client_secret_basic' | 'client_secret_post' | 'none';
function isClientAuthMethod(method: string): method is ClientAuthMethod {
return ['client_secret_basic', 'client_secret_post', 'none'].includes(method);

View file

@ -82,7 +82,6 @@ export class ExperimentalClientTasks {
* ```
*
* @param params - Tool call parameters (name and arguments)
* @param resultSchema - Zod schema for validating the result (defaults to {@linkcode CallToolResultSchema})
* @param options - Optional request options (timeout, signal, task creation params, etc.)
* @returns AsyncGenerator that yields {@linkcode ResponseMessage} objects
*

View file

@ -55,7 +55,7 @@
"prepack": "npm run build",
"lint": "eslint src/ && prettier --ignore-path ../../.prettierignore --check .",
"lint:fix": "eslint src/ --fix && prettier --ignore-path ../../.prettierignore --write .",
"check": "npm run typecheck && npm run lint && pnpm exec -- typedoc --emit none",
"check": "npm run typecheck && npm run lint",
"test": "vitest run",
"test:watch": "vitest",
"start": "npm run server",

View file

@ -1008,7 +1008,7 @@ export type RegisteredTool = {
execution?: ToolExecution;
_meta?: Record<string, unknown>;
handler: AnyToolHandler<AnySchema | undefined>;
/** @internal */
/** @hidden */
executor: ToolExecutor;
enabled: boolean;
enable(): void;
@ -1147,7 +1147,7 @@ export type RegisteredPrompt = {
title?: string;
description?: string;
argsSchema?: AnySchema;
/** @internal */
/** @hidden */
handler: PromptHandler;
enabled: boolean;
enable(): void;