-
Notifications
You must be signed in to change notification settings - Fork 2
Port components to typescript #203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR ports Vue components to TypeScript by converting Vue 2 Options API components to Vue 3 Composition API with TypeScript type definitions.
- Converts 50+ Vue components from Options API to Composition API with TypeScript
- Adds comprehensive TypeScript interfaces for props, data, and API responses
- Updates imports and exports to use TypeScript-compatible syntax
Reviewed Changes
Copilot reviewed 49 out of 50 changed files in this pull request and generated no comments.
File | Description |
---|---|
src/runtime/plugins/filters.ts | Moved makeRouteLink and makeStopLink functions to lib/filters.ts and imported them |
src/runtime/lib/filters.ts | Added exported functions makeRouteLink and makeStopLink with TypeScript signatures |
src/runtime/components/*.vue | Converted 50+ components from Options API to Composition API with TypeScript types |
package.json | Added @types/geojson dependency for GeoJSON type definitions |
Comments suppressed due to low confidence (2)
src/runtime/components/stop-departures.vue:1
- Added standard
mask-image
property alongside-webkit-mask-image
for better cross-browser compatibility.
<template>
src/runtime/components/multi-service-levels.vue:1
- Corrected spelling of 'number' from 'nunber' in comment.
<template>
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
No description provided.