Replace tslint by eslint

This commit is contained in:
Jonas Lochmann 2022-01-17 01:00:00 +01:00
parent b43059f8e2
commit f028b99bbc
No known key found for this signature in database
GPG key ID: 8B8C9AEE10FA5B36
24 changed files with 2498 additions and 311 deletions

View file

@ -115,7 +115,7 @@ types.forEach((type) => {
const functionBody = 'ajv.compile(' + schemaString + ')'
const functionName = 'is' + type.substr(0, 1).toUpperCase() + type.substr(1)
output += 'export const ' + functionName + ': (value: object) => value is ' + type + ' = ' + functionBody + '\n'
output += 'export const ' + functionName + ': (value: unknown) => value is ' + type + ' = ' + functionBody + '\n'
})
allTypes.forEach((type) => {