A WordPress plugin that provides Headless login and authentication for WPGraphQL, supporting traditional passwords, OAuth2/OpenID Connect, JWT, and more.
GNU General Public License v3.0
72
stars
11
forks
source link
Fully-implement Typescript for plugin settings #14
Currently, the Plugin Settings screen use Typescript files to add a bit of extra type-safe linting, but its not implemented fully.
With the current state of WP's javascript eschewing traditional back-compat, and since using React for plugin settings is still a fairly uncommon pattern, the more type-safety to easily detect a break, the better.
What is your proposed solution?
All JS files should use Typescript, and ts linting should be added to the CI workflow.
What problem does this address?
Currently, the Plugin Settings screen use Typescript files to add a bit of extra type-safe linting, but its not implemented fully.
With the current state of WP's javascript eschewing traditional back-compat, and since using React for plugin settings is still a fairly uncommon pattern, the more type-safety to easily detect a break, the better.
What is your proposed solution?
All JS files should use Typescript, and ts linting should be added to the CI workflow.
What alternatives have you considered?
No response
Additional Context
No response