-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
chore: Enable Typescript strict mode #26950
chore: Enable Typescript strict mode #26950
Conversation
import { CounterBadge } from './counter-badge.js'; | ||
import { CounterBadgeOptions } from './counter-badge.options.js'; | ||
|
||
function composeTemplate<T extends CounterBadge>(options: CounterBadgeOptions = {}): ElementViewTemplate<T> { | ||
return badgeTemplate({ | ||
function composeTemplate<T extends CounterBadge & Badge>(options: CounterBadgeOptions = {}): ElementViewTemplate<T> { |
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.
CounterBadge
composes Badge
template but does not inherit from it.
@chrisdholt Are you OK with this change or would you propose a different fix?
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.
Let's leave it for now and see how it goes
📊 Bundle size reportUnchanged fixtures
|
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 688ab816b7c0c345d764a993fafe27dfe4a73da5 (build) |
04bc405
to
b4ada6e
Compare
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 7e2ee4d:
|
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
c6cb97f
to
7e2ee4d
Compare
* chore: Enable Typescript strict mode * change file * revert unnecessary change * update api-report after rebase
* chore: Enable Typescript strict mode * change file * revert unnecessary change * update api-report after rebase
* chore: Enable Typescript strict mode * change file * revert unnecessary change * update api-report after rebase
* chore: Enable Typescript strict mode * change file * revert unnecessary change * update api-report after rebase
* chore: Enable Typescript strict mode * change file * revert unnecessary change * update api-report after rebase
* chore: Enable Typescript strict mode * change file * revert unnecessary change * update api-report after rebase
* chore: Enable Typescript strict mode * change file * revert unnecessary change * update api-report after rebase
* chore: Enable Typescript strict mode * change file * revert unnecessary change * update api-report after rebase
* chore: Enable Typescript strict mode * change file * revert unnecessary change * update api-report after rebase
* chore: Enable Typescript strict mode * change file * revert unnecessary change * update api-report after rebase
* chore: Enable Typescript strict mode * change file * revert unnecessary change * update api-report after rebase
* chore: Enable Typescript strict mode * change file * revert unnecessary change * update api-report after rebase
* chore: Enable Typescript strict mode * change file * revert unnecessary change * update api-report after rebase
Enables Typescript strict mode for Web Components v3.
Fixes #26891