-
Notifications
You must be signed in to change notification settings - Fork 9
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
refactor: rename realtime.d.ts
=> realtime.ts
#2765
Conversation
f94c170
to
2687415
Compare
I'd like to add an `enum` to `realtime.d.ts` but turns out you can't really add and `enum` to a "definitions" file
2687415
to
e90f727
Compare
Coverage of commit
|
Coverage of commit
|
@@ -7,7 +7,7 @@ import { | |||
TimepointId, | |||
TripId, | |||
ViaVariant, | |||
} from "./schedule.d" | |||
} from "./schedule" |
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.
Curiosity: Is there another schedule.d.ts
==> schedule.ts
change associated with this, or can you import things from *.d.ts
without the .d
?
Looks like the build is passing, so it looks like this didn't break anything O_o
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.
AFAIK you can leave off all the extensions when importing, didn't notice this change though sorry!
I'd be open to reverting that if you feel strongly enough about it.
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.
No feelings whatsoever - I was just surprised that it worked.
I'd like to add an
enum
torealtime.d.ts
but turns out you can't really add andenum
to a "definitions" file