tra-analysis/website/functions/node_modules/colour/externs/minimal-env.js

38 lines
482 B
JavaScript
Raw Normal View History

2019-01-06 19:14:45 +00:00
/**
* @fileoverview Minimal environment to compile colour.js.
* @externs
*/
/**
* @param {string} moduleName
* @returns {!Object}
*/
var require = function(moduleName) {};
/**
* @type {Module}
*/
var module;
/**
* @constructor
* @private
*/
var Module = function() {};
/**
* @type {*}
*/
Module.prototype.exports;
/**
* @param {string} name
* @param {function()} contructor
*/
var define = function(name, contructor) {};
/**
* @type {boolean}
*/
define.amd;