npm run build fails with autosuggest.ts
Travis fails with npm run build :
To reproduce locally :
- remove node_modules
- npm install
- npm run build
The problem is with this line https://github.com/swissbib/vufind/blob/master/themes/sbvfrd/ts/autosuggest/AutoSuggest.ts#L248
ERROR in ./themes/sbvfrd/ts/autosuggest/AutoSuggest.ts [tsl] ERROR in /usr/local/vufind/httpd/themes/sbvfrd/ts/autosuggest/AutoSuggest.ts(248,40) TS2339: Property 'target' does not exist on type 'Event'.
Until December 7th it worked. Maybe it is related to this https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration.
As we don't use autosuggest right now, this shouldn't affect the users.
My PHPStorm also displays this error.