mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-10-29 04:16:23 +01:00
Add typescript types for patterns
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
const random = (min, max) => min + Math.round(Math.random() * (max - min));
|
||||
const random = (min: number, max: number) => min + Math.round(Math.random() * (max - min));
|
||||
|
||||
export default random;
|
||||
|
||||
Reference in New Issue
Block a user