DefinitelyTyped/slackify-html/slackify-html-tests.ts
Scott Rippee 15d1bacc2b Adding type definition for slackify-html (https://github.com/mrq-cz/s… (#9145)
* Adding type definition for slackify-html (https://github.com/mrq-cz/slackify-html)

* Fixed name of test file
2016-05-02 01:09:35 +09:00

6 lines
178 B
TypeScript

/// <reference path="./slackify-html.d.ts" />
import slackify = require("slackify-html");
var text = slackify('this <a href="http://github.com">link</a> is <b>important</b>');