You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The class TypescriptBindings has all the methods to generate typescript definitions. It "returns" the bindings using the string self.output. A good place to start might be the method processClass, which is supposed to output the export declare class [...] line, above which we want to add a typescript comment. The comment should be accessible using theClass.brief_comment.
The bindings are generated by the script /opencascade.js/src/generateBindings.py which produces intermediate .d.ts.json files. And the command /opencascade.js/src/buildFromYaml.py /opencascade.js/src/builds/opencascade.full.yml will create a full build (including typescript definitions) in the current directory.
Those comments will then be visible via "Intellisense" in most editors / IDEs.
The text was updated successfully, but these errors were encountered: