Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

405
Views
TypeScript no puede encontrar el nombre `SpeechGrammarList`, que se implementa en "DOM"

Error de TS para SpeechGrammarList , pero esto es parte de Web Speech API y la interfaz se implementa en "DOM". ¿Por qué TS sigue dando este error?

Código:

 export interface SpeechRecognitionProperties { grammars?: SpeechGrammarList; //TS2304: Cannot find name 'SpeechGrammarList'. lang?: string; }

"typescript": "^4.4.4"

tsconfig:

 { "compilerOptions": { "target": "ESNext", "useDefineForClassFields": true, "lib": ["DOM", "DOM.Iterable", "ESNext"], "allowJs": false, "skipLibCheck": false, "esModuleInterop": false, "allowSyntheticDefaultImports": true, "strict": true, "forceConsistentCasingInFileNames": true, "module": "ESNext", "moduleResolution": "Node", "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, "jsx": "react-jsx" }, "include": ["./src"] }
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Es un cambio de libertad de TS 4.4. Consulte https://github.com/Riley-Brown/react-speech-to-text/issues/23

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!