Closed Bug 1872918 Opened 2 years ago Closed 2 years ago

Generate typescript declarations lib from xpidl

Categories

(Core :: XPCOM, task)

task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: zombie, Assigned: zombie)

References

Details

(Whiteboard: [addons-jira])

Attachments

(1 file, 2 obsolete files)

Json we generate for *.xpt files has information that's pretty close to what we would need, but is missing some details. Instead of extending that, Nika suggested it's probably better to have a separate emitter.

Assignee: nobody → tomica
Status: NEW → ASSIGNED

Unsure where and how to store this as part of the build,
so for now I kept it as a manual step.

Depends on D197618

Depends on: 1872969
Depends on: 1873386
Depends on: 1873777
No longer depends on: 1873777
Depends on: 1873777

This actually needs to be in a specific place under node_modules, to be
picked up as a replacement dom lib, since it clashes with the lib.dom
that ships with ts.

Attachment #9370946 - Attachment description: Bug 1872918 - Generate typescript declarations from xpidl r?gregtatum,mossop → Bug 1872918 - Generate typescript declarations from xpidl r?mossop,nika
Attachment #9370950 - Attachment description: Bug 1872918 - Generated lib.gecko.xpidl.d.ts SAMPLE, not part of the patch, r?gregtatum,mossop → Bug 1872918 - Generated lib.gecko.xpidl.d.ts SAMPLE, not part of the patch, r?mossop
Whiteboard: [addons-jira]
Attachment #9370950 - Attachment description: Bug 1872918 - Generated lib.gecko.xpidl.d.ts SAMPLE, not part of the patch, r?mossop → Bug 1872918 - Generated lib.gecko.xpcom.d.ts r?mossop
Attachment #9370946 - Attachment description: Bug 1872918 - Generate typescript declarations from xpidl r?mossop,nika → Bug 1872918 - Collect .d.json type information from xpidl for ts declarations r?mossop,nika
Attachment #9370950 - Attachment description: Bug 1872918 - Generated lib.gecko.xpcom.d.ts r?mossop → Bug 1872918 - Initial TypeScript tooling r?mossop
Attachment #9372859 - Attachment is obsolete: true
Blocks: 1880162
Attachment #9370946 - Attachment description: Bug 1872918 - Collect .d.json type information from xpidl for ts declarations r?mossop,nika → Bug 1872918 - Collect .d.json typescript info from xpidl r?mossop,nika
Blocks: 1880764

Comment on attachment 9370950 [details]
Bug 1872918 - Initial TypeScript tooling r?mossop

Revision D197620 was moved to bug 1880764. Setting attachment 9370950 [details] to obsolete.

Attachment #9370950 - Attachment is obsolete: true
Blocks: 1881863
Pushed by tjovanovic@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a04e5d356723 Collect .d.json typescript info from xpidl r=mossop,nika
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
Blocks: 1873386
No longer depends on: 1873386
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: