From d6e98f16c80a7ecc31148736158dcc9a8746789c Mon Sep 17 00:00:00 2001 From: Rebecca Stevens Date: Sun, 1 Aug 2021 21:03:33 +1200 Subject: [PATCH] build: removed unnessasery ts internal types --- packages/eslint-plugin/typings/typescript.d.ts | 4 ---- packages/experimental-utils/typings/typescript.d.ts | 7 ------- 2 files changed, 11 deletions(-) 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; - } }