hawtio / hawtio-core-navigation

The main navigation component for hawtio
Apache License 2.0
1 stars 7 forks source link

How to generate the .d.ts files for changes in hawtio-core-navigation.js #3

Closed davsclaus closed 9 years ago

davsclaus commented 9 years ago

Hi Stan

I added a new tooltip function to the nav bar - see the commit

But there is no .d.ts files that are generated or updated etc as part of the release. At least I can't find that.

So hawtio-jmx module an .d.ts file that do not include the new tooltip() function which I need to use. How do I sort this?

davsclaus commented 9 years ago

The commit https://github.com/hawtio/hawtio-core-navigation/commit/9bea7f5e3d14f2d64fad5e8907bd45452910ff94

And for some reason it works in hawtio-wiki plugin where I can use the tooltip

    tab.tabs.push({
      id: 'camel-endpoint-create',
      title: () =>'<i class="fa fa-plus"></i> Endpoint',
      tooltip: () => "Create a new endpoint",
      show: () => workspace.isEndpointsFolder()
        && workspace.hasInvokeRights(workspace.selection, "createEndpoint"),
      href: () => "/camel/createEndpoint" + workspace.hash()
    });
davsclaus commented 9 years ago

Ah found this project https://github.com/hawtio/hawtio-core-dts