documentation/__tests__/fixture/factory.input.js
Tom MacWright 11d9045a00 Native Flow, use Jest (#767)
* build: Use Flow syntax without comments.

We're switching to Flow annotations - not Flow comments. This
gives documentation.js the ability to self-document without
JSDoc types and improves our compatibility with tools like
prettier.

Fixes #729. Fixes #709
2017-05-08 20:46:21 -04:00

19 lines
256 B
JavaScript

/**
* an area chart generator
* @returns {area} chart
*/
var area = function() {
/**
* @class area
*/
var chart = function(selection) {};
/**
* Sets the chart data.
* @function
*/
chart.data = function(_) {};
return chart;
};