Update tsconfig and tslint, fix issues

This commit is contained in:
Slava Bacherikov committed 2018-01-20 00:45:34 +02:00
1 parent 80cb34dbe1
commit 9bea83617f
4 files changed
+15 -7

No files matched your search

+1 -1
View File
@@ -116,7 +116,7 @@ function fsi20DecNewKeygen(serial: string): string {
"9137605284", "3974018625", "8052974163"
];
return [0, 2, 5, 11, 13, 15, 16].map((val, i, arr) => {
return [0, 2, 5, 11, 13, 15, 16].map((val, i) => {
let temp = parseInt(serial.charAt(val), 10);
return fKeys[i].charAt(temp);
}).join("");
+2 -2
View File
@@ -1,6 +1,6 @@
/* tslint:disable:no-bitwise */
import {
asciiToKeyboardEnc, keyboardEncToAscii, makeSolver, reversedScanCodes, Solver
asciiToKeyboardEnc, keyboardEncToAscii, reversedScanCodes, Solver
} from "./utils";
export const enum PhoenixErrors {
@@ -36,7 +36,7 @@ const digitsOnly: string[] = "123456789".split("");
const lettersOnly: string[] = "abcdefghijklmnopqrstuvwxyz".split("");
const alphaNumeric: string[] = lettersOnly.concat(digitsOnly);
// const alphaNumeric: string[] = lettersOnly.concat(digitsOnly);
const defaultPhoenix: PhoenixInfo = {
shift: 0,