From 51ed1d7de855e2b56f0cca72abd195a723445110 Mon Sep 17 00:00:00 2001 From: Jesse Date: Thu, 22 Dec 2022 13:02:08 -0500 Subject: [PATCH] document ts ignore, see https://github.com/phetsims/chipper/issues/1366 --- js/ResponsePatternCollection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ResponsePatternCollection.ts b/js/ResponsePatternCollection.ts index f565fdc..8623cbc 100644 --- a/js/ResponsePatternCollection.ts +++ b/js/ResponsePatternCollection.ts @@ -103,7 +103,7 @@ class ResponsePatternCollection { // TODO: Not sure how to get rid of this index signature error. I was looking at assertion signatures in links below, see https://github.com/phetsims/tambo/issues/160 // https://stackoverflow.com/questions/56568423/typescript-no-index-signature-with-a-parameter-of-type-string-was-found-on-ty // https://www.carlrippon.com/typescript-assertion-signatures/ - // @ts-expect-error + // @ts-expect-error - see above comment const patternString = this[ key ]; assert && assert( patternString, `no pattern string found for key ${key}` ); return patternString;