mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-07-02 21:52:48 +00:00
feat: add support for uploading videos (#115)
* chore: add video upload url * feat!: add support for uploading videos This is probably complete but I will do a self-review later today. * style: align comments * style: lint code * chore: tidy things up
This commit is contained in:
@@ -80,6 +80,7 @@ export default class Session extends EventEmitterLike {
|
||||
on(type: 'auth', listener: OAuthAuthEventHandler): void;
|
||||
on(type: 'auth-pending', listener: OAuthAuthPendingEventHandler): void;
|
||||
on(type: 'auth-error', listener: OAuthAuthErrorEventHandler): void;
|
||||
on(type: 'update-credentials', listener: OAuthAuthEventHandler): void;
|
||||
|
||||
on(type: string, listener: (...args: any[]) => void): void {
|
||||
super.on(type, listener);
|
||||
|
||||
Reference in New Issue
Block a user