Skip to content

Conversation

@enjikaka
Copy link
Contributor

@enjikaka enjikaka commented Jul 5, 2024

  • 📖 tl;dr: TypeScript's new isolated declaration feature is a game changer for sharing code among developers. It significantly simplifies the process of packaging your code for consumption whilst reducing the time to create type definition files from minutes, sometimes even hours, down to less than a second.
    https://marvinh.dev/blog/speeding-up-javascript-ecosystem-part-10/

  • you don't need to create *.d.ts files manually anymore by invoking the tsc compiler.

We still need vite dts plugin for NPM; so need to wait for that plugin to not fail on latest TS config.

};

StreamingMetrics.playbackStatistics({
StreamingMetrics.playbackStatisticsVideo({
Copy link
Contributor

Choose a reason for hiding this comment

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

is this change correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah isolated declarations require separate defs for track and video.

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