From 5b7df7da1f5c6aec4507b869e45cfc763b7b308f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BA=A2?= Date: Mon, 5 Aug 2024 19:40:30 +0800 Subject: [PATCH] fix: code syntax (#50) * fix(build): ignore compile targets * Revert "fix(build): ignore compile targets" This reverts commit 8b3e424830aa2dfe2a192aca77c428181f60755c. * fix: typo --- src/FastColor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FastColor.ts b/src/FastColor.ts index 1891f53..1e6f9a5 100644 --- a/src/FastColor.ts +++ b/src/FastColor.ts @@ -61,7 +61,7 @@ export class FastColor { /** * All FastColor objects are valid. So isValid is always true. This property is kept to be compatible with TinyColor. */ - isValid: true; + isValid: boolean = true; /** * Red, R in RGB