diff options
Diffstat (limited to 'server/sonar-web/src/main/js/components/workspace/main.js')
-rw-r--r-- | server/sonar-web/src/main/js/components/workspace/main.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/components/workspace/main.js b/server/sonar-web/src/main/js/components/workspace/main.js index 8c8cfd05f44..bb834be5a3a 100644 --- a/server/sonar-web/src/main/js/components/workspace/main.js +++ b/server/sonar-web/src/main/js/components/workspace/main.js @@ -17,6 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +// @flow import $ from 'jquery'; import Item from './models/item'; import Items from './models/items'; @@ -77,7 +78,7 @@ Workspace.prototype = { return this.open({ ...options, __type__: 'component' }); }, - openRule(options) { + openRule(options: { key: string, organization: string }) { return this.open({ ...options, __type__: 'rule' }); }, |