1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-14 03:30:18 +00:00
musix-oss/node_modules/bytebuffer/externs/minimal-env.js

53 lines
760 B
JavaScript
Raw Normal View History

2020-03-03 20:30:50 +00:00
/**
* @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) {};