diff --git a/packages/eslint-plugin/typings/typescript.d.ts b/packages/eslint-plugin/typings/typescript.d.ts index 73304155ee74..1fef14b32d67 100644 --- a/packages/eslint-plugin/typings/typescript.d.ts +++ b/packages/eslint-plugin/typings/typescript.d.ts @@ -18,10 +18,6 @@ declare module 'typescript' { * - `readonly [foo]` */ isTupleType(type: Type): type is TupleTypeReference; - /** - * Return the type of the given property in the given type, or undefined if no such property exists - */ - getTypeOfPropertyOfType(type: Type, propertyName: string): Type | undefined; } interface Type { diff --git a/packages/experimental-utils/typings/typescript.d.ts b/packages/experimental-utils/typings/typescript.d.ts index 73304155ee74..7c9089158b4b 100644 --- a/packages/experimental-utils/typings/typescript.d.ts +++ b/packages/experimental-utils/typings/typescript.d.ts @@ -23,11 +23,4 @@ declare module 'typescript' { */ getTypeOfPropertyOfType(type: Type, propertyName: string): Type | undefined; } - - interface Type { - /** - * If the type is `any`, and this is set to "error", then TS was unable to resolve the type - */ - intrinsicName?: string; - } }