Skip to content

feat(transitive-overlay): enable strict mode#34

Open
daniel-heppner-ibigroup wants to merge 7 commits intostrict-mode-toolingfrom
strict-mode-transitive-overlay
Open

feat(transitive-overlay): enable strict mode#34
daniel-heppner-ibigroup wants to merge 7 commits intostrict-mode-toolingfrom
strict-mode-transitive-overlay

Conversation

@daniel-heppner-ibigroup
Copy link
Copy Markdown

@daniel-heppner-ibigroup daniel-heppner-ibigroup commented Apr 28, 2026

Enables TS strict mode and then fixes the related type issues.

This PR also touches types package to create a new TransitiveSegment type which we then use in this package.

…e deps

- Set TS compile target to es2020
- Remove dep hoisting, add pnpm-workspace.yaml config
- Add missing type dependencies to packages without strict-mode branches
- Fix husky setup
- Enable TypeScript strict mode
- Add TransitiveSegment type to @opentripplanner/types
- Make stop_name optional in TransitiveStop
- Add missing type dependencies
let fromAnchor;
let toAnchor;
let fromAnchor: PositionAnchor = "top-left";
let toAnchor: PositionAnchor = "top-left";
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this a reasonable default?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants