Added // @ts-check to the top of all files to begin the process of migrating to Typescript and used JSDOC to add type hints to db/items/js as an example.
This won't break anything, just provides hints to the linter and will help us find things that need to be fixed before we can migrate to Typescript.
Added
// @ts-check
to the top of all files to begin the process of migrating to Typescript and used JSDOC to add type hints todb/items/js
as an example.This won't break anything, just provides hints to the linter and will help us find things that need to be fixed before we can migrate to Typescript.