Closed noahb642 closed 1 month ago
Since this is a boolean, I think this should be changed to "return (r as number) === 1;" https://github.com/YoRyan/open-nec/blob/2345e4287b49839b9fa7138b8144daae9aafc571/src/lib/railworks.ts#L502
Yes, you're quite right. Thanks so much for the tip. 👍
Since this is a boolean, I think this should be changed to "return (r as number) === 1;" https://github.com/YoRyan/open-nec/blob/2345e4287b49839b9fa7138b8144daae9aafc571/src/lib/railworks.ts#L502