1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-23 16:13:18 +00:00
musix-oss/node_modules/bytebuffer/externs/minimal-env.js
2020-03-03 22:30:50 +02:00

53 lines
760 B
JavaScript

/**
* @param {string} moduleName
* @returns {?}
*/
function require(moduleName) {};
/**
* @param {string} name
* @param {Array.<string>} deps
* @param {function(...[*])} f
*/
function define(name, deps, f) {};
/**
* @param {number} size
* @constructor
* @extends Array
*/
function Buffer(size) {};
/**
* @param {*} buf
* @return {boolean}
*/
Buffer.isBuffer = function(buf) {};
/**
* @type {Object.<string,*>}
*/
var console = {};
/**
* @param {string} s
*/
console.log = function(s) {};
/**
* @type {*}
*/
var module = {};
/**
* @param {...*} var_args
* @returns {string}
*/
String.fromCodePoint = function(var_args) {};
/**
* @param {number} offset
* @returns {number}
*/
String.prototype.codePointAt = function(offset) {};