Skip to content

Commit 9a78187

Browse files
committed
feat: rgba func is no longer deprecated
1 parent 522ef12 commit 9a78187

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/index.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,7 @@ abstract class Color<CS extends ColorSpace> {
9696
}
9797

9898
interface RGBA<CS extends Extract<ColorSpace, "rgb"> = "rgb"> {
99-
/**
100-
* @deprecated use format instead
101-
*/
99+
/** @description get rgba array */
102100
rgba(): TColorRGBA;
103101
alpha(a: Alpha): Color<CS>;
104102
}

0 commit comments

Comments
 (0)