[
https://issues.apache.org/jira/browse/MYFACES-4750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18082490#comment-18082490
]
Werner Punz edited comment on MYFACES-4750 at 5/21/26 6:56 AM:
---------------------------------------------------------------
As it seems mojarra also only has dropped the d.ts file, given we are on
typescript already, I will work out a solution to provide a compatible d.ts
file straight via the build from our sources. The Tobag guys also need one for
the jsf namespace, so it makes sense from all angles to do that!
was (Author: werpu):
As it seems mojarra also only has dropped the d.ts file, given we are on
typescript already, I will work out a solution to provide a compatible d.ts
file straight via the build from our sources. The Tobag guys also need one for
the jsf namespace, so it makes sense from all angles to do that!
> Spec change faces.d.ts must be provided
> ---------------------------------------
>
> Key: MYFACES-4750
> URL: https://issues.apache.org/jira/browse/MYFACES-4750
> Project: MyFaces Core
> Issue Type: Improvement
> Affects Versions: 5.0.0, 4.0.4
> Reporter: Werner Punz
> Assignee: Werner Punz
> Priority: Major
>
> [https://github.com/jakartaee/faces/issues/1598#issuecomment-4490784716]
>
> As it seems mojarra also now has improved their typescript typescript, and
> there is a spec improvement going underway that a faces.d.ts file must be
> provided so that the js codebase can be used within typescript. We need to
> add this functionality. First I need to do the generation of this file or
> providing it manually within the downstram project on github and then it will
> need to be integrated in myfaces. Not sure if we need to present that file on
> request, I doubt it because the d.ts files are plain files provided so that
> you can link javascript into typescript code without losing the type
> information on the apis! So I guess just providing it is enough.
> Still the preferred way probably for projects would be anyway just use the
> plain typescript files but, the d.ts file is valid and needs to be at least
> packaged in!
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)