Skip to content

Conversation

Niryo
Copy link
Contributor

@Niryo Niryo commented Mar 16, 2020

No description provided.

@ethanshar ethanshar self-requested a review March 16, 2020 11:44
@@ -68,7 +74,7 @@ class Colors {
}
}

getColorTint(color, tintKey) {
getColorTint(color: string, tintKey: any) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check why any

@@ -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) {
Copy link
Contributor Author

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",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove -p

@ethanshar ethanshar merged commit 47b1b18 into master Mar 16, 2020
@ethanshar ethanshar deleted the typescript-effort branch May 17, 2020 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants