Commit ad490ca
feat: add type discriminator for MasterPlaylist and MediaPlaylist (#159)
Add declare isMasterPlaylist properties to enable TypeScript type narrowing
when checking playlist.isMasterPlaylist boolean values.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-authored-by: Claude <[email protected]>1 parent 30b2f68 commit ad490ca
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
| 279 | + | |
279 | 280 | | |
280 | 281 | | |
281 | 282 | | |
| |||
304 | 305 | | |
305 | 306 | | |
306 | 307 | | |
| 308 | + | |
307 | 309 | | |
308 | 310 | | |
309 | 311 | | |
| |||
0 commit comments