Skip to content

Commit

Permalink
fix(SPEECH_SYNTHESIS): fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
waterplea committed Oct 26, 2020
1 parent 8214d87 commit 516438d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/common/src/tokens/speech-synthesis.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {inject, InjectionToken} from '@angular/core';
import {WINDOW} from './window';

export const SPEECH_SYNTHESIS = new InjectionToken<SpeechSynthesis | null>(
export const SPEECH_SYNTHESIS = new InjectionToken<SpeechSynthesis>(
'An abstraction over window.speechSynthesis object',
{
factory: () => inject(WINDOW).speechSynthesis,
Expand Down

0 comments on commit 516438d

Please sign in to comment.