Skip to content

Commit

Permalink
Fix typo (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Jul 1, 2021
1 parent 2ef9f22 commit b3c5e15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/constants.js
Expand Up @@ -125,7 +125,7 @@ const CONFIG_FILES = [
`${MODULE_NAME}.config.cjs`
];

const TSCONFIG_DEFFAULTS = {
const TSCONFIG_DEFAULTS = {
compilerOptions: {
target: 'es2018',
newLine: 'lf',
Expand All @@ -148,6 +148,6 @@ module.exports = {
MODULE_NAME,
CONFIG_FILES,
MERGE_OPTIONS_CONCAT,
TSCONFIG_DEFFAULTS,
TSCONFIG_DEFAULTS,
CACHE_DIR_NAME
};
4 changes: 2 additions & 2 deletions lib/options-manager.js
Expand Up @@ -40,7 +40,7 @@ const {
MODULE_NAME,
CONFIG_FILES,
MERGE_OPTIONS_CONCAT,
TSCONFIG_DEFFAULTS,
TSCONFIG_DEFAULTS,
CACHE_DIR_NAME
} = require('./constants');

Expand Down Expand Up @@ -225,7 +225,7 @@ const makeTSConfig = (tsConfig, tsConfigPath, files) => {
config.extends = tsConfigPath;
config.include = arrify(tsConfig.include).map(pattern => toAbsoluteGlob(pattern, {cwd: path.dirname(tsConfigPath)}));
} else {
Object.assign(config, TSCONFIG_DEFFAULTS);
Object.assign(config, TSCONFIG_DEFAULTS);
}

return config;
Expand Down

0 comments on commit b3c5e15

Please sign in to comment.