feat: Replace EventEmitter with EventTarget in Dimensions#57432
Open
retyui wants to merge 1 commit into
Open
Conversation
Contributor
Author
|
can't build types ( yarn build-types
Analysis will use the bundled TypeScript version 5.8.2
/Users/RN/node_modules/@microsoft/api-extractor/lib/analyzer/AstSymbolTable.js:338
throw new node_core_library_1.InternalError(`Unable to follow symbol for "${identifierNode.text}"`);
^
InternalError: Internal Error: Unable to follow symbol for "AbortSignal"
You have encountered a software defect. Please consider reporting the issue to the maintainers of this application.
at AstSymbolTable._analyzeChildTree (/Users/RN/node_modules/@microsoft/api-extractor/lib/analyzer/AstSymbolTable.js:338:43)
at AstSymbolTable._analyzeChildTree (/Users/RN/node_modules/@microsoft/api-extractor/lib/analyzer/AstSymbolTable.js:387:18)
... collapsed 7 duplicate lines matching above 1 lines 7 times...
at AstSymbolTable._analyzeAstSymbol (/Users/RN/node_modules/@microsoft/api-extractor/lib/analyzer/AstSymbolTable.js:257:18)
at /Users/RN/node_modules/@microsoft/api-extractor/lib/analyzer/AstSymbolTable.js:269:34
at AstDeclaration.forEachDeclarationRecursive (/Users/RN/node_modules/@microsoft/api-extractor/lib/analyzer/AstDeclaration.js:178:9)
at AstDeclaration.forEachDeclarationRecursive (/Users/RN/node_modules/@microsoft/api-extractor/lib/analyzer/AstDeclaration.js:180:19)
at AstSymbol.forEachDeclarationRecursive (/Users/RN/node_modules/@microsoft/api-extractor/lib/analyzer/AstSymbol.js:103:28)
at AstSymbolTable._analyzeAstSymbol (/Users/RN/node_modules/@microsoft/api-extractor/lib/analyzer/AstSymbolTable.js:264:27)
at AstSymbolTable.analyze (/Users/RN/node_modules/@microsoft/api-extractor/lib/analyzer/AstSymbolTable.js:123:25)
at /Users/RN/node_modules/@microsoft/api-extractor/lib/analyzer/ExportAnalyzer.js:263:62
at Map.forEach (<anonymous>)
at ExportAnalyzer._collectAllExportsRecursive (/Users/RN/node_modules/@microsoft/api-extractor/lib/analyzer/ExportAnalyzer.js:252:48)
at ExportAnalyzer.fetchAstModuleExportInfo (/Users/RN/node_modules/@microsoft/api-extractor/lib/analyzer/ExportAnalyzer.js:194:18)
at AstSymbolTable.fetchAstModuleExportInfo (/Users/RN/node_modules/@microsoft/api-extractor/lib/analyzer/AstSymbolTable.js:99:37)
at Collector.analyze (/Users/RN/node_modules/@microsoft/api-extractor/lib/collector/Collector.js:224:111)
at Extractor.invoke (/Users/RN/node_modules/@microsoft/api-extractor/lib/api/Extractor.js:154:19)
at buildAPISnapshot (/Users/RN/scripts/js-api/build-types/buildApiSnapshot.js:71:37)
at async main (/Users/RN/scripts/js-api/build-types/index.js:87:5) {
unformattedMessage: 'Unable to follow symbol for "AbortSignal"'
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Motivation: Make
addEventListener(...)method - event target likeSo,
Dimensions.addEventListenernow accept 3rd argument with options{ once?: boolean, signal?: AbortSignal }Changelog:
[GENERAL] [CHANGED] - Replace
EventEmitterwithEventTargetinDimensionsTest Plan: