1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 17:59:37 +02:00

Refactor a little bit controllers

This commit is contained in:
Chocobozzz 2021-05-12 14:51:17 +02:00
parent c00100b607
commit c158a5faab
No known key found for this signature in database
GPG key ID: 583A612D890159BE
14 changed files with 625 additions and 504 deletions

View file

@ -14,7 +14,7 @@ function isSafePath (p: string) {
})
}
function isArray (value: any) {
function isArray (value: any): value is any[] {
return Array.isArray(value)
}