From 0b9544c5209ebe1ea6ff8f46af3dbdf60fdbbb2e Mon Sep 17 00:00:00 2001 From: Siddarth Kumar Date: Sun, 14 May 2023 08:01:36 +0530 Subject: [PATCH] `resolveTypeAnnotation` is no longer exported --- packages/eslint-plugin-specs/react-native-modules.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/eslint-plugin-specs/react-native-modules.js b/packages/eslint-plugin-specs/react-native-modules.js index 816ab33f2ab677..9f142919d9e075 100644 --- a/packages/eslint-plugin-specs/react-native-modules.js +++ b/packages/eslint-plugin-specs/react-native-modules.js @@ -69,7 +69,6 @@ function requireModuleParser() { buildModuleSchema: RNParserCommons.buildModuleSchema, createParserErrorCapturer: RNParserUtils.createParserErrorCapturer, parser: new RNFlowParser.FlowParser(), - resolveTypeAnnotation: RNFlowParserUtils.resolveTypeAnnotation, translateTypeAnnotation: RNModuleParser.flowTranslateTypeAnnotation, }; } @@ -149,7 +148,6 @@ function rule(context) { buildModuleSchema, createParserErrorCapturer, parser, - resolveTypeAnnotation, translateTypeAnnotation, } = requireModuleParser(); @@ -164,7 +162,6 @@ function rule(context) { ast, tryParse, parser, - resolveTypeAnnotation, translateTypeAnnotation, ); });