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
SwG release 0.1.22.30 #18746
SwG release 0.1.22.30 #18746
Conversation
locked = true; | ||
} | ||
const locked = (accessibleForFree && | ||
accessibleForFree.toLowerCase() == 'false') || false; |
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.
IIRC, the newer version of CC could not determine that this expression result was boolean. Recommend reverting and making this change upstream if it complains.
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.
Yep. Now it's fine.
@@ -2270,10 +2327,10 @@ const TITLE_LANG_MAP = { | |||
class ButtonApi { | |||
|
|||
/** | |||
* @param {*} doc | |||
* @param {!../model/doc.Doc} doc |
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.
"Cannot find module" is an error in newer CC. I replaced these with *
with a manual regex search/replace:
- Use regex `(!|\?)\.[^>)}]*` to replace missing type paths with `*`. |
#18586 for details.
* SwG release 0.1.22.30 * replace module-based types with wildcard
* SwG release 0.1.22.30 * replace module-based types with wildcard
See https://github.com/subscriptions-project/swg-js/releases/tag/0.1.22.30