Skip to content

Commit

Permalink
Update import syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 committed Aug 29, 2021
1 parent de6b1dc commit b70849a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
{
"code": {
"content": [
"import * as Anser from 'anser';",
"import Anser = require('anser');",
"const txt = \"\\u001b[38;5;196mHello\\u001b[39m \\u001b[48;5;226mWorld\\u001b[49m\";",
"console.log(Anser.ansiToHtml(txt));",
"// <span style=\"color:rgb(255, 0, 0)\">Hello</span> <span style=\"background-color:rgb(255, 255, 0)\">World</span>"
Expand Down

0 comments on commit b70849a

Please sign in to comment.