Werner Punz created MYFACES-4750:
------------------------------------

             Summary: 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


[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)

Reply via email to