Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Ghost---Shadow/word-highlighter
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghost---Shadow committed Dec 24, 2021
2 parents bc20db8 + 0a881e3 commit ab480e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export const WORD_HIGHLIGHTER: string;
export function registerColors(newColors: string[]): void;
export const colors: string[];
export function renderHtml(block: string): string;
export function generateCss(): string;
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.1.4",
"description": "Highlight plaintext words of your choosing",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"test": "jest",
"lint": "eslint ./src/**/*.js ./index.js",
Expand Down

0 comments on commit ab480e9

Please sign in to comment.