mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-09-05 10:19:16 +00:00
refactor(cards): added typings for cards and fetchers (#1596)
* refactor(cards): added typings for cards and fetchers * chore: move types to separate file
This commit is contained in:
+6
-5
@@ -1,3 +1,4 @@
|
||||
// @ts-check
|
||||
/**
|
||||
* @param {number} value
|
||||
*/
|
||||
@@ -53,11 +54,11 @@ const getAnimations = () => {
|
||||
|
||||
/**
|
||||
* @param {{
|
||||
* titleColor: string;
|
||||
* textColor: string;
|
||||
* iconColor: string;
|
||||
* show_icons: boolean;
|
||||
* progress: number;
|
||||
* titleColor?: string | string[]
|
||||
* textColor?: string | string[]
|
||||
* iconColor?: string | string[]
|
||||
* show_icons?: boolean;
|
||||
* progress?: number;
|
||||
* }} args
|
||||
*/
|
||||
const getStyles = ({
|
||||
|
||||
Reference in New Issue
Block a user