[
https://issues.apache.org/jira/browse/MYFACES-4750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18084511#comment-18084511
]
Werner Punz commented on MYFACES-4750:
--------------------------------------
faces.d.ts now is now present, atm it is not auto generated in myfaces, but the
upstream project already generates it automatically, it was not worth it to
drag all the dependencies in since only spec changes can alter the d.ts file
which only happen in major revisions!
> 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
> Fix For: 5.0.0, 4.0.4, 4.1.4
>
>
> [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)