diff --git a/shared/js/enums/fileEncoding.js b/shared/js/enums/fileEncoding.js new file mode 100644 index 000000000..a295d4193 --- /dev/null +++ b/shared/js/enums/fileEncoding.js @@ -0,0 +1,5 @@ +alt.Enums.FileEncoding = Object.freeze({ + UTF8: "utf-8", + UTF16: "utf-16", + BINARY: "binary" +}); diff --git a/types/shared/index.d.ts b/types/shared/index.d.ts index b238af491..558b4fb58 100644 --- a/types/shared/index.d.ts +++ b/types/shared/index.d.ts @@ -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 {