Add return type annotation to extract method in SignalExtractor

This commit is contained in:
2025-03-29 22:57:30 +01:00
parent 314c43688b
commit f83190eab2

View File

@@ -9,6 +9,7 @@ import { IHDLSignalInfo } from '../elements/interfaces/IHDLSignal';
export class SignalExtractor extends HDLElementExtractor<HDLSignal> {
/**
* Extract all signal declarations from the syntax tree.
* @returns An array of HDLSignal objects representing the extracted signals.
*/
extract(): HDLSignal[] {
this.extractComments();