Skip to content

Commit

Permalink
chore(client)!: Deprecate setWatermarkPosition and it's enum
Browse files Browse the repository at this point in the history
  • Loading branch information
xLuxy committed Jun 13, 2024
1 parent f4605e6 commit 435e508
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ declare module "alt-client" {
ForceVehicleTyreBurst = "FORCE_VEHICLE_TYRE_BURST",
}

/** @deprecated This method will be removed in the next major release. (v17) */
export const enum WatermarkPosition {
BottomRight = 0,
TopRight = 1,
Expand Down Expand Up @@ -3247,8 +3248,11 @@ declare module "alt-client" {
* Change the position of the alt:V watermark.
*
* @param position Watermarkposition.
* @deprecated This method will be removed in the next major release. (v17)
*/
export function setWatermarkPosition(position: WatermarkPosition): void;

/** @deprecated This method will be removed in the next major release. (v17) */
export function setWatermarkPosition<T extends number>(position: T): void;

/**
Expand Down

0 comments on commit 435e508

Please sign in to comment.