Skip to content

Commit

Permalink
Fixed types in injected metadata service
Browse files Browse the repository at this point in the history
  • Loading branch information
Machi3mfl authored and AlexRuiz7 committed May 5, 2023
1 parent ccf78c4 commit 42c90ed
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ export interface InjectedMetadataParams {
* @internal
*/
export class InjectedMetadataService {
private state = deepFreeze(
this.params.injectedMetadata
) as InjectedMetadataParams['injectedMetadata'];
private state: InjectedMetadataParams['injectedMetadata'];

constructor(private readonly params: InjectedMetadataParams) {}
constructor(private readonly params: InjectedMetadataParams) {
this.state = deepFreeze(params.injectedMetadata) as InjectedMetadataParams['injectedMetadata'];
}

public start(): InjectedMetadataStart {
return this.setup();
Expand Down

0 comments on commit 42c90ed

Please sign in to comment.