Skip to content

Commit

Permalink
Fix test and add note
Browse files Browse the repository at this point in the history
  • Loading branch information
luisherranz committed Jun 10, 2024
1 parent 19a7f0b commit a74f64c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 1 addition & 3 deletions packages/interactivity/src/test-types/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ const { actions } = store( 'test', {
}

{
// This is intentionally included to ensure that this test fails on GitHub
// before replacing it with @ts-expect-error.
// @ts-expect-error
const var1: string = actions.sync();

// @ts-expect-error
const var2: Promise< string > = actions.async();
// @ts-expect-error
Expand Down
4 changes: 3 additions & 1 deletion packages/interactivity/src/test-types/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "..",
"emitDeclarationOnly": false,
"noEmit": true,
"rootDir": "..",
// Implicit any can be removed once this work is finished:
// https://github.com/WordPress/gutenberg/pull/61695
"noImplicitAny": false,
"noUnusedLocals": false
},
Expand Down

0 comments on commit a74f64c

Please sign in to comment.