-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Dom update 2024-01-11 #57027
Dom update 2024-01-11 #57027
Conversation
Copied from microsoft/typescript-dom-lib-generator
@typescript-bot test top100 |
Heya @sandersn, I've started to run the diff-based user code test suite on this PR at 3bae7b9. You can monitor the build here. Update: The results are in! |
Heya @sandersn, I've started to run the regular perf test suite on this PR at 3bae7b9. You can monitor the build here. Update: The results are in! |
Heya @sandersn, I've started to run the parallelized Definitely Typed test suite on this PR at 3bae7b9. You can monitor the build here. Update: The results are in! |
Heya @sandersn, I've started to run the diff-based top-repos suite on this PR at 3bae7b9. You can monitor the build here. Update: The results are in! |
Hey @sandersn, I've packed this into an installable tgz. You can install it for testing by referencing it in your
and then running There is also a playground for this build and an npm module you can use via |
@sandersn Here are the results of running the user test suite comparing There were infrastructure failures potentially unrelated to your change:
Otherwise... Something interesting changed - please have a look. Details
|
Hey @sandersn, the results of running the DT tests are ready. Branch only errors:Package: webrtc
|
@sandersn Here are the results of running the top-repos suite comparing Something interesting changed - please have a look. Details
|
@sandersn Here they are:
tscComparison Report - baseline..pr
System info unknown
Hosts
Scenarios
tsserverComparison Report - baseline..pr
System info unknown
Hosts
Scenarios
startupComparison Report - baseline..pr
System info unknown
Hosts
Scenarios
Developer Information: |
@sandersn Any insight as to why these have been deleted? Looking at the documentation on mdn these properties should exist: https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/showNotification |
It was based on microsoft/TypeScript-DOM-lib-generator#1631, which updates the types to @webref/[email protected] and [email protected] The comments on that PR says that NotificationOptions is Blink-only as of 2023-10. |
interface NotificationAction { | ||
action: string; | ||
icon?: string; | ||
title: string; | ||
} | ||
|
||
interface NotificationOptions { | ||
actions?: NotificationAction[]; | ||
badge?: string; | ||
body?: string; | ||
data?: any; | ||
dir?: NotificationDirection; | ||
icon?: string; | ||
image?: string; | ||
lang?: string; | ||
renotify?: boolean; | ||
requireInteraction?: boolean; | ||
silent?: boolean | null; | ||
tag?: string; | ||
timestamp?: EpochTimeStamp; | ||
vibrate?: VibratePattern; | ||
} |
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.
Why were those properties removed?
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.
Not many breaks from this one. Two packages have their shims break and one package assigns to a property that's not there anymore (but might still be on the browser it targets?)
Performance:
Failures:
Summary of changes:
Credential
, justvoid