Skip to content

Commit

Permalink
fix: type and lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Saschl committed Dec 22, 2023
1 parent d697935 commit 1cbb1d2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ export class FlightPlanRpcClient<P extends FlightPlanPerformanceData> implements
return this.callFunctionViaRpc('revertHoldToComputed', at, planIndex, alternate);
}

enableAltn(atIndexInAlternate: number, planIndex: number): Promise<void> {
return this.callFunctionViaRpc('enableAltn', atIndexInAlternate, planIndex);
enableAltn(atIndexInAlternate: number, cruiseLevel: number, planIndex: number): Promise<void> {
return this.callFunctionViaRpc('enableAltn', atIndexInAlternate, cruiseLevel, planIndex);
}

setPilotEnteredAltitudeConstraintAt(atIndex: number, isDescentConstraint: boolean, constraint?: AltitudeConstraint, planIndex?: FlightPlanIndex, alternate?: boolean): Promise<void> {
Expand Down
2 changes: 1 addition & 1 deletion fbw-a32nx/src/systems/instruments/src/PFD/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module.exports = {

extends: '../../../.eslintrc.js',
extends: '../../../../.eslintrc.js',

// overrides airbnb, use sparingly
rules: { 'react/no-unknown-property': 'off', 'react/style-prop-object': 'off' },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@ export interface FmsSymbolsData {
vectorsActive: PathVector[],
vectorsDashed: PathVector[],
vectorsTemporary: PathVector[],
vectorsMissed: PathVector[],
vectorsAlternate: PathVector[],
vectorsSecondary: PathVector[],
traffic: NdTraffic[],
}
6 changes: 3 additions & 3 deletions fbw-common/src/systems/instruments/src/ND/ND.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
import { ClockEvents, ConsumerSubject, DisplayComponent, EventBus, FSComponent, MappedSubject, Subject, Subscribable, VNode } from '@microsoft/msfs-sdk';

import { clampAngle } from 'msfs-geo';
import { LnavStatus } from 'instruments/src/ND/shared/LnavStatus';
import { VnavStatus } from 'instruments/src/ND/shared/VnavStatus';
import { SelectedHeadingBug } from 'instruments/src/ND/pages/arc/SelectedHeadingBug';
import { SelectedHeadingBug } from './pages/arc/SelectedHeadingBug';
import { VnavStatus } from './shared/VnavStatus';
import { LnavStatus } from './shared/LnavStatus';
import { CrossTrackError } from './shared/CrossTrackError';
import { RadioNeedle } from './shared/RadioNeedle';
import { GenericFmsEvents } from './types/GenericFmsEvents';
Expand Down

0 comments on commit 1cbb1d2

Please sign in to comment.