mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* @types/yeast: adding type definitions * fix: npm test issues * fix: declaration as UMD module
6 lines
148 B
TypeScript
6 lines
148 B
TypeScript
import * as yeast from 'yeast';
|
|
|
|
yeast.encode(123); // $ExpectType string
|
|
yeast.decode('abc'); // $ExpectType number
|
|
yeast(); // $ExpectType string
|