Skip to content

Commit

Permalink
added declaration files to get counter example to build
Browse files Browse the repository at this point in the history
  • Loading branch information
overthemike committed Dec 18, 2024
1 parent a2bd792 commit 407ff0d
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/counter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
"preview": "vite preview"
},
"dependencies": {
"@types/lowlight": "^0.0.7",
"highlight.js": "^11.11.0",
"lowlight": "^3.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-lowlight": "^3.0.1",
Expand Down
35 changes: 35 additions & 0 deletions examples/counter/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions examples/counter/src/highlight.js.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module 'highlight.js/lib/languages/typescript'
1 change: 1 addition & 0 deletions examples/counter/src/react-lowlight.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module 'react-lowlight'

0 comments on commit 407ff0d

Please sign in to comment.