diff --git a/package.json b/package.json index 3a9a5b54375..632e8a7186b 100644 --- a/package.json +++ b/package.json @@ -94,7 +94,7 @@ "retext-smartypants": "^4.0.0", "rss": "^1.2.2", "tailwindcss": "^3.4.1", - "typescript": "^4.0.2", + "typescript": "^5.7.2", "unist-util-visit": "^2.0.3", "webpack-bundle-analyzer": "^4.5.0" }, diff --git a/src/components/MDX/TeamMember.tsx b/src/components/MDX/TeamMember.tsx index e1b9198d8ee..23da9095777 100644 --- a/src/components/MDX/TeamMember.tsx +++ b/src/components/MDX/TeamMember.tsx @@ -40,6 +40,7 @@ export function TeamMember({ }: TeamMemberProps) { if (name == null || title == null || permalink == null || children == null) { throw new Error( + // @ts-ignore 'Expected name, title, permalink, and children for ' + name ?? title ?? permalink ?? diff --git a/src/components/Search.tsx b/src/components/Search.tsx index f5c963f67ce..7fb42354b96 100644 --- a/src/components/Search.tsx +++ b/src/components/Search.tsx @@ -109,6 +109,7 @@ export function Search({ }: SearchProps) { useDocSearchKeyboardEvents({isOpen, onOpen, onClose}); return ( + // @ts-ignore <>