Skip to content

Commit e42b3e1

Browse files
authored
Learn english Quique
1 parent f9c01f9 commit e42b3e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/VueProgram.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ class VueProgram {
3838
*/
3939
public static resolveNonTsModuleName(moduleName: string, containingFile: string, basedir: string, options: ts.CompilerOptions) {
4040
const baseUrl = options.baseUrl ? options.baseUrl : basedir;
41-
const discartedSymbols = ['.', '..', '/'];
41+
const discardedSymbols = ['.', '..', '/'];
4242
const wildcards: string[] = [];
4343

4444
if (options.paths) {
4545
Object.keys(options.paths).forEach(key => {
4646
const pathSymbol = key[0];
47-
if (discartedSymbols.indexOf(pathSymbol) < 0 && wildcards.indexOf(pathSymbol) < 0) {
47+
if (discardedSymbols.indexOf(pathSymbol) < 0 && wildcards.indexOf(pathSymbol) < 0) {
4848
wildcards.push(pathSymbol);
4949
}
5050
});

0 commit comments

Comments
 (0)