mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 02:52:12 +00:00
* replaced YTNode's data arg as RawNode * updated documentation * removed unused import ---- Note that there are still many nodes that need to be updated, hence the WIP status.
14 lines
356 B
TypeScript
14 lines
356 B
TypeScript
import { YTNode } from '../helpers.js';
|
|
import type { RawNode } from '../index.js';
|
|
class AudioOnlyPlayability extends YTNode {
|
|
static type = 'AudioOnlyPlayability';
|
|
|
|
audio_only_availability: string;
|
|
|
|
constructor (data: RawNode) {
|
|
super();
|
|
this.audio_only_availability = data.audioOnlyAvailability;
|
|
}
|
|
}
|
|
|
|
export default AudioOnlyPlayability; |