From 6c65518241129abe102c8f290b9761617ea4304e Mon Sep 17 00:00:00 2001 From: Jeremy Wiebe Date: Fri, 20 Dec 2024 10:43:18 -0800 Subject: [PATCH] Final tweak of comment --- packages/perseus/src/__tests__/validation.typetest.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/perseus/src/__tests__/validation.typetest.ts b/packages/perseus/src/__tests__/validation.typetest.ts index 20a9cfa041..510acee62e 100644 --- a/packages/perseus/src/__tests__/validation.typetest.ts +++ b/packages/perseus/src/__tests__/validation.typetest.ts @@ -2,9 +2,11 @@ * This file contains TypeScript type "tests" which ensure that types needed * for scoring and validation stay in sync with other types in the system. * - * If you make a change and one of these "satisfies" assertions fails, that - * will usually mean you've made a change that will cause runtime breakages in - * scoring or validation. + * If you make a change and `Extends<>` starts to complain, that will usually + * mean you've made a change that will cause runtime breakages in scoring or + * validation. ie. The types that should be compatible are no longer + * compatible. Read the TypeScript error message closely and it should point + * you in the right direction. */ import type {PerseusRenderer} from "../perseus-types"; import type {ScoringDataMap, ValidationDataMap} from "../validation.types";