Skip to content

chore(typings): update browser-compile typings#3259

Merged
rwaskiewicz merged 2 commits intomainfrom
rwaskiewicz/quick-fix-browser-compile
Mar 2, 2022
Merged

chore(typings): update browser-compile typings#3259
rwaskiewicz merged 2 commits intomainfrom
rwaskiewicz/quick-fix-browser-compile

Conversation

@rwaskiewicz
Copy link
Copy Markdown
Member

@rwaskiewicz rwaskiewicz commented Mar 2, 2022

Pull request checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Build (npm run build) was run locally and any changes were pushed
  • Unit tests (npm test) were run locally and passed
  • E2E Tests (npm run test.karma.prod) were run locally and passed
  • Prettier (npm run prettier) was run locally and passed

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Preflight checklists for releasing Stencil can't be followed, as there are typescript errors outside the core compiler - specifically as a part of a manual testing suite.

GitHub Issue Number: N/A

What is the new behavior?

this commit is a quick fix for the browser-compile tests that currently
do not compile after setting useUnknownInCatchVariables in
#3211. This went unnoticed as
this application is not currently type checked by our CI process. In
order to get the application to compile, we type the error as any for
now, with the intent of properly narrowing it in STENCIL-371 (and adding
proper CI checks there as well). this commit only unblocks next monday's
release.

Does this introduce a breaking change?

  • Yes
  • No

Testing

Checkout this branch, and build Stencil: npm ci && npm run build:
Start the browser-compile project - cd test/browser-compile && npm run start

Other information

I intend to really fix this in a future ticket, this is just to unblock next Monday's release

this commit is a quick fix for the browser-compile tests that currently
do not compile after setting `useUnknownInCatchVariables` in
#3211. This went unnoticed as
this application is not currently type checked by our CI process. In
order to get the application to compile, we type the error as `any` for
now, with the intent of properly narrowing it in STENCIL-371 (and adding
proper CI checks there as well). this commit only unblocks next monday's
release.
@rwaskiewicz rwaskiewicz marked this pull request as ready for review March 2, 2022 17:24
@rwaskiewicz rwaskiewicz requested a review from a team March 2, 2022 17:24
@rwaskiewicz rwaskiewicz merged commit 6104dbc into main Mar 2, 2022
@rwaskiewicz rwaskiewicz deleted the rwaskiewicz/quick-fix-browser-compile branch March 2, 2022 19:31
@rwaskiewicz rwaskiewicz mentioned this pull request Mar 3, 2022
14 tasks
rwaskiewicz added a commit that referenced this pull request Mar 11, 2022
this commit introduces proper type guards for the browser-compile
project, removing the stopgap 'any' usage that was introduced in
#3259
rwaskiewicz added a commit that referenced this pull request Mar 15, 2022
this commit introduces proper type guards for the browser-compile
project, removing the stopgap 'any' usage that was introduced in
#3259
rwaskiewicz added a commit that referenced this pull request Mar 24, 2022
this commit introduces proper type guards for the browser-compile
project, removing the stopgap 'any' usage that was introduced in
#3259
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants