diff --git a/packages/kbn-utility-types/test-d/method_keys_of.ts b/packages/kbn-utility-types/test-d/method_keys_of.ts index 0f6f18903e7ac..46cb17122f416 100644 --- a/packages/kbn-utility-types/test-d/method_keys_of.ts +++ b/packages/kbn-utility-types/test-d/method_keys_of.ts @@ -25,7 +25,7 @@ class Test { getName() { return this.name; } - // @ts-expect-error + // @ts-ignore private getDoubleName() { return this.name.repeat(2); } diff --git a/packages/kbn-utility-types/test-d/public_methods_of.ts b/packages/kbn-utility-types/test-d/public_methods_of.ts index d85bb44d3dbfc..3f5d442342b15 100644 --- a/packages/kbn-utility-types/test-d/public_methods_of.ts +++ b/packages/kbn-utility-types/test-d/public_methods_of.ts @@ -25,7 +25,7 @@ class Test { getName() { return this.name; } - // @ts-expect-error + // @ts-ignore private getDoubleName() { return this.name.repeat(2); }