via make.wordpress.org => original post link
Well, mostly
As of the merging of this PR in the WordPress/openverse-frontend repository, it is now possible to use native TypeScript for a lot of the code in Openverse for which we were previously using JavaScript. The only exception to this are Vue single-file-components (SFCs)1. We will continue to use regular JavaScript with helpful but non-contractual2 JSDoc annotations in Vue SFCs; for the rest of our JavaScript we will slowly add type-checking via one of the two methods described below.
There are now two ways to add types to any given module. You can either: