use the correct script

2 jobs for add-typescript in 1 minute and 17 seconds (queued for 1 second)
Status Name Job ID Coverage
  Test
passed build_typescript #56552

00:00:42

failed lint_typescript #56551

00:00:35

 
Name Stage Failure
failed
lint_typescript Test
ERROR: /builds/pubsweet/types/src/base-model.ts:71:19 - comment must start with a space
ERROR: /builds/pubsweet/types/src/base-model.ts:74:37 - missing whitespace
ERROR: /builds/pubsweet/types/src/base-model.ts:78:13 - Use an interface instead of a type literal.
ERROR: /builds/pubsweet/types/src/base-model.ts:82:13 - Use an interface instead of a type literal.
ERROR: /builds/pubsweet/types/src/base-model.ts:90:2 - Unnecessary semicolon

error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: Job failed: exit code 2