linx-simulator2/node_modules/colour/externs/minimal-env.js

38 lines
519 B
JavaScript
Raw Normal View History

2019-09-18 08:11:16 +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;