DefinitelyTyped/types/remove-markdown/remove-markdown-tests.ts
Muhammad Ragib Hasin 65049e5d32 [ascii2mathml][intl][remove-markdown] add typings (#18987)
* [ascii2mathml] add typings (v0.5.4)

* [intl] add typings

* [remove-markdown] add typings

* [ascii2mathml][intl][remove-markdown] fix lint

* [intl] fix project link

* [ascii2mathml] fix test error
2017-08-16 10:02:24 -07:00

6 lines
198 B
TypeScript

import removeMd = require('remove-markdown');
removeMd(''); // $ExpectType string
removeMd('', {}); // $ExpectType string
removeMd('', { stripListLeaders: true, gfm: true }); // $ExpectType string