diff --git a/packages/interactivity/src/test-types/store.ts b/packages/interactivity/src/test-types/store.ts index c9e958f9c879c2..322a351581356c 100644 --- a/packages/interactivity/src/test-types/store.ts +++ b/packages/interactivity/src/test-types/store.ts @@ -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 diff --git a/packages/interactivity/src/test-types/tsconfig.json b/packages/interactivity/src/test-types/tsconfig.json index 81819cbd0344cd..40ac5fb51f07c9 100644 --- a/packages/interactivity/src/test-types/tsconfig.json +++ b/packages/interactivity/src/test-types/tsconfig.json @@ -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 },