UNPKG

@tetcoin/dev

Version:

A collection of shared CI scripts and development environment used by @tetcoin projects

27 lines (22 loc) 548 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.echo = void 0; // Copyright 2017-2020 @polkadot/dev authors & contributors // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. const A = 123; let count = 0; function doCallback(fn) { fn('test'); } /** * This is just a test file to test the doc generation */ const echo = value => { count++; doCallback(a => a); return `${count}: ${A}: ${value}`; }; exports.echo = echo;