1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Resolve enums at compile time

This commit is contained in:
Chocobozzz 2021-12-28 15:30:36 +01:00
parent 81d02aac56
commit fba87e27c1
No known key found for this signature in database
GPG key ID: 583A612D890159BE
5 changed files with 5 additions and 5 deletions

View file

@ -4,7 +4,7 @@
*
* WebDAV and other codes useless with regards to PeerTube are not listed.
*/
export enum HttpStatusCode {
export const enum HttpStatusCode {
/**
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.2.1