Skip to content

Commit cc41daa

Browse files
committed
Fix typo
1 parent b7f4480 commit cc41daa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/core.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -645,9 +645,9 @@ module ts {
645645
*/
646646
export const supportedExtensions = [".ts", ".d.ts"];
647647

648-
const extensitionsToRemove = [".d.ts", ".ts", ".js"];
648+
const extensionsToRemove = [".d.ts", ".ts", ".js"];
649649
export function removeFileExtension(path: string): string {
650-
for (let ext of extensitionsToRemove) {
650+
for (let ext of extensionsToRemove) {
651651
if (fileExtensionIs(path, ext)) {
652652
return path.substr(0, path.length - ext.length);
653653
}

0 commit comments

Comments
 (0)