Skip to content

Commit

Permalink
REVERTME: Introduce intentional type error
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed Sep 9, 2024
1 parent 563d4b0 commit ac5590f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/interactivity/src/test/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe( 'Interactivity API', () => {
},
} );

myStore.state.clientValue satisfies number;
myStore.state.clientValue satisfies string;

Check failure on line 35 in packages/interactivity/src/test/store.ts

View workflow job for this annotation

GitHub Actions / Playwright - 2

Type 'number' does not satisfy the expected type 'string'.

Check failure on line 35 in packages/interactivity/src/test/store.ts

View workflow job for this annotation

GitHub Actions / Playwright - 6

Type 'number' does not satisfy the expected type 'string'.

Check failure on line 35 in packages/interactivity/src/test/store.ts

View workflow job for this annotation

GitHub Actions / Playwright - 5

Type 'number' does not satisfy the expected type 'string'.

Check failure on line 35 in packages/interactivity/src/test/store.ts

View workflow job for this annotation

GitHub Actions / Playwright - 4

Type 'number' does not satisfy the expected type 'string'.

Check failure on line 35 in packages/interactivity/src/test/store.ts

View workflow job for this annotation

GitHub Actions / Build JavaScript assets for PHP unit tests

Type 'number' does not satisfy the expected type 'string'.

Check failure on line 35 in packages/interactivity/src/test/store.ts

View workflow job for this annotation

GitHub Actions / Playwright - 3

Type 'number' does not satisfy the expected type 'string'.

Check failure on line 35 in packages/interactivity/src/test/store.ts

View workflow job for this annotation

GitHub Actions / Playwright - 8

Type 'number' does not satisfy the expected type 'string'.

Check failure on line 35 in packages/interactivity/src/test/store.ts

View workflow job for this annotation

GitHub Actions / Playwright - 1

Type 'number' does not satisfy the expected type 'string'.

Check failure on line 35 in packages/interactivity/src/test/store.ts

View workflow job for this annotation

GitHub Actions / Check

Type 'number' does not satisfy the expected type 'string'.

Check failure on line 35 in packages/interactivity/src/test/store.ts

View workflow job for this annotation

GitHub Actions / Playwright - 7

Type 'number' does not satisfy the expected type 'string'.

Check failure on line 35 in packages/interactivity/src/test/store.ts

View workflow job for this annotation

GitHub Actions / Run performance tests

Type 'number' does not satisfy the expected type 'string'.

Check failure on line 35 in packages/interactivity/src/test/store.ts

View workflow job for this annotation

GitHub Actions / All

Type 'number' does not satisfy the expected type 'string'.

Check failure on line 35 in packages/interactivity/src/test/store.ts

View workflow job for this annotation

GitHub Actions / Build Release Artifact

Type 'number' does not satisfy the expected type 'string'.
myStore.state.derived satisfies number;

// @ts-expect-error
Expand Down

0 comments on commit ac5590f

Please sign in to comment.