mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2025-10-03 17:59:24 +02:00
Update dependencies
This commit is contained in:
parent
2bb3777484
commit
eca9473e11
133 changed files with 2298 additions and 2495 deletions
|
@ -61,7 +61,7 @@ const settings = {
|
|||
|
||||
const compilerOptions = {
|
||||
strictNullChecks: true,
|
||||
lib: ['es2015']
|
||||
lib: ['es2015', 'dom']
|
||||
}
|
||||
|
||||
// optionally pass a base path
|
||||
|
@ -95,7 +95,7 @@ allTypes.forEach((type) => {
|
|||
|
||||
output += '// tslint:disable \n'
|
||||
output += 'import { ' + types.join(', ') + ' } from \'./schema\'\n'
|
||||
output += 'const Ajv = require(\'ajv\')\n'
|
||||
output += 'import Ajv from \'ajv\'\n'
|
||||
output += 'const ajv = new Ajv()\n'
|
||||
output += '\n'
|
||||
output += 'const definitions = ' + JSON.stringify(definitions, null, 2) + '\n\n'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue