Skip to content

Commit a5278e6

Browse files
committed
Minor fix
1 parent 26d0a9f commit a5278e6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/core/reactor.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1774,12 +1774,12 @@ interface UtilityFunctions {
17741774
data: T,
17751775
destFederateID: number,
17761776
destPortID: number,
1777-
time: TimeValue
1777+
time: TimeValue | undefined
17781778
) => void;
17791779
sendRTIPortAbsent: (
17801780
destFederateID: number,
17811781
destPortID: number,
1782-
additionalDelay: TimeValue
1782+
additionalDelay: TimeValue | undefined
17831783
) => void;
17841784
}
17851785

@@ -1909,15 +1909,15 @@ export class App extends Reactor {
19091909
data: T,
19101910
destFederateID: number,
19111911
destPortID: number,
1912-
time: TimeValue
1912+
time: TimeValue | undefined
19131913
): void {
19141914
this.app.sendRTITimedMessage(data, destFederateID, destPortID, time);
19151915
}
19161916

19171917
public sendRTIPortAbsent(
19181918
destFederateID: number,
19191919
destPortID: number,
1920-
additionalDelay: TimeValue
1920+
additionalDelay: TimeValue | undefined
19211921
): void {
19221922
this.app.sendRTIPortAbsent(destFederateID, destPortID, additionalDelay);
19231923
}
@@ -2078,7 +2078,7 @@ export class App extends Reactor {
20782078
data: T,
20792079
destFederateID: number,
20802080
destPortID: number,
2081-
time: TimeValue
2081+
time: TimeValue | undefined
20822082
): void {
20832083
throw new Error(
20842084
"Cannot call sendRTIMessage from an App. sendRTIMessage may be called only from a FederatedApp"
@@ -2098,7 +2098,7 @@ export class App extends Reactor {
20982098
protected sendRTIPortAbsent(
20992099
destFederateID: number,
21002100
destPortID: number,
2101-
additionalDelay: TimeValue
2101+
additionalDelay: TimeValue | undefined
21022102
): void {
21032103
throw new Error(
21042104
"Cannot call sendRTIPortAbsent from an App. sendRTIPortAbsent may be called only from a FederatedApp"

0 commit comments

Comments
 (0)