Explorar el Código

Fix typo in ValidateEngineParts

ApisNecros hace 1 año
padre
commit
1625c252bb
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      3/3_1.ts

+ 3 - 3
3/3_1.ts

@@ -16,7 +16,7 @@ const tests = [
 
 const testMap = BuildSchematicsMap(tests);
 let testParts = ParseSchematics(testMap);
-testParts = ValiditeEngineParts(testParts);
+testParts = ValidateEngineParts(testParts);
 
 console.log(util.inspect(testParts, { breakLength: Infinity, depth: 256, colors: true }));
 
@@ -84,13 +84,13 @@ function ParseSchematics(schematicsMap: string[][]): EnginePart[] {
 /**
  * Validates all previously parsed Engine Parts
  *
- * An Engine Part is only valid if it's connected, even diagnally, to a
+ * An Engine Part is only valid if it's connected, even diagonally, to a
  * symbol other than `.`.
  *
  * @param {EnginePart[]} potentialParts All potential Engine Parts
  * @returns {EnginePart[]} A filtered list of all valid Engine Parts
  */
-function ValiditeEngineParts(potentialParts: EnginePart[]): EnginePart[] {
+function ValidateEngineParts(potentialParts: EnginePart[]): EnginePart[] {
 
     return [];
 }