-
Notifications
You must be signed in to change notification settings - Fork 739
Typescript effort #698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typescript effort #698
Conversation
src/style/colors.ts
Outdated
@@ -68,7 +74,7 @@ class Colors { | |||
} | |||
} | |||
|
|||
getColorTint(color, tintKey) { | |||
getColorTint(color: string, tintKey: any) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check why any
src/style/colors.ts
Outdated
@@ -24,22 +30,22 @@ class Colors { | |||
* p3 - B part of RGB | |||
* p4 - opacity | |||
*/ | |||
rgba(p1, p2, p3, p4) { | |||
rgba(p1: string | number, p2: number, p3: number, p4: number) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check overload
package.json
Outdated
@@ -24,7 +24,7 @@ | |||
"lint:fix": "eslint src -c .eslintrc.js --fix", | |||
"lint:test": "mocha --compilers js:babel-core/register eslint-rules/tests/lib/rules", | |||
"xcode": "open ./ios/uilib.xcodeproj", | |||
"build": "mkdir -p dist && cp -r src/assets dist/ && babel src --out-dir dist", | |||
"build": "tsc -p tsconfig.json", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove -p
No description provided.