Closed
Bug 1945457
Opened 16 days ago
Closed 13 days ago
Improve the definition for Components.Exceptions (Fix errors such as Type '2147500037' has no properties in common with type 'ErrorOptions')
Categories
(Developer Infrastructure :: Lint and Formatting, task, P3)
Developer Infrastructure
Lint and Formatting
Tracking
(firefox137 fixed)
RESOLVED
FIXED
137 Branch
Tracking | Status | |
---|---|---|
firefox137 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
On the toolkit/components/search
code, I've been seeing a lot of errors like:
toolkit/components/search/SearchService.sys.mjs:2938:11 - error TS2559: Type '2147500037' has no properties in common with type 'ErrorOptions'.
2938 Cr.NS_ERROR_FAILURE
~~~~~~~~~~~~~~~~~~~
These are due to the definition of Components.Exceptions
in the type script overrides, assuming an Error
like object, when in fact they are a complex set of arguments.
Assignee | ||
Comment 1•16 days ago
|
||
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dbe8a3a2a81e
Implement full TypeScript definition for Components.Exception. r=zombie
Comment 3•13 days ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 13 days ago
status-firefox137:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•