Improve API documentation: use Direction type in FootpathElement

Change type of slopeDirection and queueBannerDirection of footpaths to Direction in openrct2.d.ts
This commit is contained in:
Stephan Spengler 2024-03-06 18:22:50 +01:00 committed by GitHub
parent aa6a1b0bdd
commit 01248c26a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -1503,12 +1503,12 @@ declare global {
edges: number;
corners: number;
slopeDirection: number | null;
slopeDirection: Direction | null;
isBlockedByVehicle: boolean;
isWide: boolean;
isQueue: boolean;
queueBannerDirection: number | null;
queueBannerDirection: Direction | null;
ride: number | null;
station: number | null;