Skip to content

Commit

Permalink
remove the as cast
Browse files Browse the repository at this point in the history
  • Loading branch information
alicewriteswrongs committed Apr 25, 2022
1 parent 9715c6c commit d8a4748
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/compiler/config/validate-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,8 @@ export const validateConfig = (
return arr;
}, [] as RegExp[]);

// this is well justified I promise :)
let validatedConfig: Config = config as any;

return {
config: validatedConfig,
config,
diagnostics,
};
};
Expand Down

0 comments on commit d8a4748

Please sign in to comment.