mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-07 16:30:12 +08:00
add yosay/yosay.d.ts
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
/// <reference path="./yosay.d.ts" />
|
||||
import yosay = require('yosay');
|
||||
yosay('Welcome to the generator!', {maxLength: 20});
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
// Type definitions for yosay
|
||||
// Project: https://github.com/yeoman/yosay
|
||||
// Definitions by: Kentaro Okuno <http://github.com/armorik83>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare module 'yosay' {
|
||||
function yosay(message?: string, options?: {maxLength: number}): string;
|
||||
export = yosay;
|
||||
}
|
||||
Reference in New Issue
Block a user