chiark / gitweb /
js: Fix two errors reported by ts 4.x
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 16 Apr 2021 15:36:54 +0000 (16:36 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 16 Apr 2021 16:08:14 +0000 (17:08 +0100)
commitb8fa0bd5d9d1e0224e0634af38236ee321c5eec3
treee1ad8839ee21fdb1da208c02914a4cd2269dd08b
parentbb55b68191f6ed2d1c54e27c2431335070d89d55
js: Fix two errors reported by ts 4.x

templates/script.ts:898:7: error TS7034: Variable 'held' implicitly has type 'any' in some locations where its type cannot be determined.

templates/script.ts:954:32: error TS7005: Variable 'held' implicitly has an 'any' type.

Reported-by: Matthew Vernon <matthewv@chiark.greenend.org.uk>
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
templates/script.ts