diff --git a/packages/yoshiki/package.json b/packages/yoshiki/package.json index 7b5e5b3..5c32bc7 100644 --- a/packages/yoshiki/package.json +++ b/packages/yoshiki/package.json @@ -1,6 +1,6 @@ { "name": "yoshiki", - "version": "1.2.3", + "version": "1.2.4", "author": "Zoe Roux (https://github.com/zoriya)", "license": "MIT", "keywords": [ diff --git a/packages/yoshiki/src/native/units.ts b/packages/yoshiki/src/native/units.ts index d657db5..61f2c95 100644 --- a/packages/yoshiki/src/native/units.ts +++ b/packages/yoshiki/src/native/units.ts @@ -10,7 +10,7 @@ export const px = ? (value: number): number => `${value}px` as unknown as number : (value: number): number => value; -export const percent = (value: number) => `${value}%`; +export const percent = (value: number) => `${value}%` as const; export const em = Platform.OS === "web"