Skip to content

Commit b3c5e15

Browse files
authored
Fix typo (#567)
1 parent 2ef9f22 commit b3c5e15

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/constants.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ const CONFIG_FILES = [
125125
`${MODULE_NAME}.config.cjs`
126126
];
127127

128-
const TSCONFIG_DEFFAULTS = {
128+
const TSCONFIG_DEFAULTS = {
129129
compilerOptions: {
130130
target: 'es2018',
131131
newLine: 'lf',
@@ -148,6 +148,6 @@ module.exports = {
148148
MODULE_NAME,
149149
CONFIG_FILES,
150150
MERGE_OPTIONS_CONCAT,
151-
TSCONFIG_DEFFAULTS,
151+
TSCONFIG_DEFAULTS,
152152
CACHE_DIR_NAME
153153
};

lib/options-manager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const {
4040
MODULE_NAME,
4141
CONFIG_FILES,
4242
MERGE_OPTIONS_CONCAT,
43-
TSCONFIG_DEFFAULTS,
43+
TSCONFIG_DEFAULTS,
4444
CACHE_DIR_NAME
4545
} = require('./constants');
4646

@@ -225,7 +225,7 @@ const makeTSConfig = (tsConfig, tsConfigPath, files) => {
225225
config.extends = tsConfigPath;
226226
config.include = arrify(tsConfig.include).map(pattern => toAbsoluteGlob(pattern, {cwd: path.dirname(tsConfigPath)}));
227227
} else {
228-
Object.assign(config, TSCONFIG_DEFFAULTS);
228+
Object.assign(config, TSCONFIG_DEFAULTS);
229229
}
230230

231231
return config;

0 commit comments

Comments
 (0)