Skip to content

Commit

Permalink
test: new error
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhaup committed May 19, 2024
1 parent df1165c commit 7ffb470
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/LazyChild.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ export function LazyChild({
const newError: number = '1';

Check failure on line 96 in src/components/LazyChild.tsx

View workflow job for this annotation

GitHub Actions / check-tsc-errors

Type 'string' is not assignable to type 'number'.

Check failure on line 96 in src/components/LazyChild.tsx

View workflow job for this annotation

GitHub Actions / check-tsc-errors

Cannot redeclare block-scoped variable 'newError'.
console.log(newError);

const newError: number = '1';

Check failure on line 99 in src/components/LazyChild.tsx

View workflow job for this annotation

GitHub Actions / check-tsc-errors

Type 'string' is not assignable to type 'number'.

Check failure on line 99 in src/components/LazyChild.tsx

View workflow job for this annotation

GitHub Actions / check-tsc-errors

Cannot redeclare block-scoped variable 'newError'.
console.log(newError);

useAnimatedReaction(
() => {
if (!_shouldMeasurePercentVisible) {
Expand Down

0 comments on commit 7ffb470

Please sign in to comment.