Skip to content

Commit 7e8c118

Browse files
David Pazdavidmpaz
David Paz
authored andcommitted
Fix copy'n paste errors
Fix typos and copy/paste errors.
1 parent 58b7ef7 commit 7e8c118

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/WebpackConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ class WebpackConfig {
241241
this.useTypeScriptLoader = true;
242242

243243
for (const optionKey of Object.keys(options)) {
244-
if (!(optionKey in this.sassOptions)) {
244+
if (!(optionKey in this.typeScriptOptions)) {
245245
throw new Error(`Invalid option "${optionKey}" passed to enableTypeScriptLoader(). Valid keys are ${Object.keys(this.typeScriptOptions).join(', ')}`);
246246
}
247247

lib/loader-features.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const loaderFeatures = {
3838
},
3939
typescript: {
4040
method: 'enableTypeScriptLoader()',
41-
packages: ['typescript', 'ts-loaders'],
41+
packages: ['typescript', 'ts-loader'],
4242
description: 'process TypeScript files'
4343
}
4444
};

0 commit comments

Comments
 (0)