-
Notifications
You must be signed in to change notification settings - Fork 36
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
fix policy modal #1458
fix policy modal #1458
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@shopify/ui-extensions': patch | ||
'@shopify/ui-extensions-react': patch | ||
--- | ||
|
||
fix policy modal handling |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,8 @@ | |
"compilerOptions": { | ||
"outDir": "build/ts", | ||
"rootDir": "src", | ||
"jsx": "react-jsx" | ||
"jsx": "react-jsx", | ||
"stripInternal": true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missed this when moving back to unstable. We had in internal already. https://github.com/Shopify/ui-extensions/pull/1399/files#diff-62ec3f3adce17523e1588b957e8483dbc86b81ab9b6062022b35c69880faa6b2R6 But not for the non-react package. I've also added it here. I don't think it makes sense to only strip internals for react. |
||
}, | ||
"include": ["config/typescript/faker.d.ts", "src/**/*.ts", "src/**/*.tsx"], | ||
"exclude": ["src/**/*.example.tsx", "src/**/tests/**"], | ||
|
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 have honestly no idea how/why this worked before 🤔
We never combined the Component with its types. We're now passing the props so that the type is complete.