-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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: Migrate @storybook/polymer
#8102
Merged
Merged
Changes from 3 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
f003cf9
wip: start typescript migration of polymer
kroeder bdeef27
remove exclusion of __tests__
kroeder 862369d
add types for polymer/server
kroeder 1c11681
wip: migrate polymer/client to typescript
kroeder 8569339
Merge branch 'next' into ts-migration/polymer
ndelangen c11ee24
wip: proceed ts migration
kroeder a9afa17
Merge branch 'next' into ts-migration/polymer
kroeder 7cc8043
trigger ci
kroeder 2d70ce2
Merge branch 'next' into ts-migration/polymer
ndelangen 13816cb
Merge branch 'next' into ts-migration/polymer
shilman c38000e
Merge branch 'next' into ts-migration/polymer
ndelangen 754579a
Merge branch 'next-6.0.0' into ts-migration/polymer
ndelangen 55b9876
Merge branch 'next-6.0.0' into ts-migration/polymer
ndelangen ad67e81
Merge branch 'next-6.0.0' into ts-migration/polymer
ndelangen 9e7e2c7
Update 1-Button.stories.ts
devtronic 36ee762
fix: clean usage of `@types/webpack-env` dep in all packages
gaetanmaisse 3046a88
Merge branch 'next-6.0.0' into ts-migration/polymer
ndelangen 5779f18
Clean usage of `@types/webpack-env` dep in all packages (#9536)
shilman 3026db9
Next 6.0.0 (#9212)
ndelangen 593ac5f
Fixed Angular button example story (#9540)
ndelangen 3ab7e7a
6.0.0-alpha.0 changelog
shilman b8543b5
Merge branch 'next' into pr/kroeder/8102
ndelangen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0
app/polymer/src/server/build.js → app/polymer/src/server/build.ts
100755 → 100644
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0
app/polymer/src/server/index.js → app/polymer/src/server/index.ts
100755 → 100644
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
app/polymer/src/server/options.js → app/polymer/src/server/options.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
declare module '@storybook/core/*'; | ||
declare module 'global'; | ||
|
||
// will be provided by the webpack define plugin | ||
declare var NODE_ENV: string | undefined; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"rootDir": "./src", | ||
"types": [] | ||
}, | ||
"include": [ | ||
"src/**/*" | ||
] | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
tslint complained about the typing of
use
. I had to cast it but it might be a bugrules[0].use
can beor are we 100% certain it is always
RuleSetUseItem[]
? Do we need to add a check here?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.
We can't be not sure, we should probably check