Skip to content

Commit

Permalink
shared: Add FileEncoding enum
Browse files Browse the repository at this point in the history
  • Loading branch information
xLuxy committed Oct 13, 2023
1 parent d82e21e commit 3a7f091
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions shared/js/enums/fileEncoding.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
alt.Enums.FileEncoding = Object.freeze({
UTF8: "utf-8",
UTF16: "utf-16",
BINARY: "binary"
});
6 changes: 6 additions & 0 deletions types/shared/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2824,6 +2824,12 @@ declare module "@altv/shared" {
WRONG_PASSWORD,
WRONG_CDN_URL
}

export enum FileEncoding {
UTF8 = "utf-8",
UTF16 = "utf-16",
BINARY = "binary"
}
}

export namespace Symbols {
Expand Down

0 comments on commit 3a7f091

Please sign in to comment.