mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
9 lines
343 B
TypeScript
9 lines
343 B
TypeScript
/// <reference path="./asciify.d.ts" />
|
|
|
|
import asciify = require('asciify');
|
|
|
|
asciify('Whoa', function(err, result){console.log(result)});
|
|
asciify('Whoa', '3-d', function(err, result){console.log(result)});
|
|
asciify('Whoa', {font:'3-d'}, function(err, result){console.log(result)});
|
|
|
|
asciify.getFonts(function(err, fonts) { fonts.slice(0); }); |