DefinitelyTyped/types/runes/runes-tests.ts
Aaron Osher c198645a5b Correct typings for runes (#34841)
* Update runes-tests.ts

* Update runes types

Correct to account for width param
2019-04-19 12:53:09 -07:00

6 lines
138 B
TypeScript

import runes = require('runes');
runes('hello world 😁');
runes.substr('hello world 😁', 1);
runes.substr('hello world 😁', 1, 5);