Skip to content

Commit

Permalink
document ts ignore, see phetsims/chipper#1366
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Dec 22, 2022
1 parent 99d3031 commit 51ed1d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/ResponsePatternCollection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 51ed1d7

Please sign in to comment.