Skip to content

Commit

Permalink
build: install types
Browse files Browse the repository at this point in the history
  • Loading branch information
emekaorji committed Oct 11, 2023
1 parent 7962774 commit ed1a591
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,8 @@ module.exports = {
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
},
};
19 changes: 8 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,12 @@
"node": ">=12.0"
},
"keywords": [
"boilerplate",
"template",
"typescript",
"vscode",
"jest",
"husky",
"commitizen",
"semantic-release",
"codecov"
"speech",
"recognition",
"ai",
"synthesis",
"speech recognition",
"speech synthesis"
],
"bugs": {
"url": "https://github.com/emekaorji/speech-recognition-react/issues"
Expand All @@ -48,8 +45,10 @@
"devDependencies": {
"@ryansonshine/commitizen": "^4.2.8",
"@ryansonshine/cz-conventional-changelog": "^3.3.4",
"@types/dom-speech-recognition": "^0.0.2",
"@types/jest": "^27.5.2",
"@types/node": "^12.20.11",
"@types/react": "^18.2.23",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"conventional-changelog-conventionalcommits": "^5.0.0",
Expand Down Expand Up @@ -120,8 +119,6 @@
]
},
"dependencies": {
"@types/dom-speech-recognition": "^0.0.2",
"@types/react": "^18.2.23",
"react": "^18.2.0"
}
}
3 changes: 0 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/* eslint-disable @typescript-eslint/no-unsafe-return */
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
/* eslint-disable @typescript-eslint/no-unsafe-call */
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';

const SpeechRecognition =
Expand Down

0 comments on commit ed1a591

Please sign in to comment.