-
Notifications
You must be signed in to change notification settings - Fork 92
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
Add type definitions #94
Conversation
Can you update or remake this PR or rebase, this time based on new master branch please ? |
…rselectfield into feature/typedefinitions # Conflicts: # package-lock.json # package.json
…rselectfield into feature/typedefinitions # Conflicts: # package-lock.json # package.json
lib/SuperSelectField.d.ts
Outdated
import {Component} from 'react'; | ||
|
||
export interface SelectFieldProps { | ||
anchorOrigin?: 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.
Why everywhere types are any?
KnisterPeter/react-to-typescript-definitions#439
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.
and this file should be in ignore to :)
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.
Speaking to yourself ? ^^
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.
Just info :)
Codecov Report
@@ Coverage Diff @@
## master #94 +/- ##
==========================================
- Coverage 42.07% 40.97% -1.11%
==========================================
Files 6 6
Lines 202 205 +3
==========================================
- Hits 85 84 -1
- Misses 117 121 +4
Continue to review full report at Codecov.
|
Useless codecov comment. Anybody knows how to turn off commenting on pull requests? |
One question: I'm asking this following your modification of package.json properties "main" and "module". |
I tried to
|
If you read NWB documentation as suggested few days ago, you would have learn that :
There is a third build, it were the original form of my project before this transfer to NWB: the UMD. |
You should check the results after pre released |
What your link is pointing at, is a "UMD" build. |
Yes link is pointing to the latest npm module version. Try publishing the new version of current refactored environment. You will see some changes. And the "main" section of package.json will be wrong. |
…rselectfield into feature/typedefinitions # Conflicts: # package.json
@Sharlaan any news about this? |
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.
This PR is about type definition, not storybook. You shouldnot mix.
Storybook (and htis addon) are already scheduled, so useless to add this here or any PR.
package.json
Outdated
@@ -70,6 +70,7 @@ | |||
"react-dom": "^16.1.0", | |||
"react-router": "^4.2.0", | |||
"react-router-dom": "^4.2.2", | |||
"react-to-typescript-definitions": "^0.22.0" | |||
"react-to-typescript-definitions": "^0.22.0", | |||
"storybook-addon-material-ui": "^0.8.2" |
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.
This PR is about type definition, not storybook. You shouldnot mix.
Storybook (and htis addon) are already scheduled, so useless to add this here or any PR.
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.
I just merged the master branch
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.
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.
Ah ok, probably Max started on storybook.
…rselectfield into feature/typedefinitions # Conflicts: # package.json
…rselectfield into feature/typedefinitions # Conflicts: # package-lock.json
…rselectfield into feature/typedefinitions # Conflicts: # package-lock.json
DO something. Can't wait and fix merge conflicts to often |
Added support for |
cool 👖 |
so why I'm not using npm any more. Use yarn instead :) |
…rselectfield into feature/typedefinitions # Conflicts: # package-lock.json # package.json
…ature/typedefinitions # Conflicts: # package-lock.json
I'm right? |
Closes #91