zaratanDotWorld / choreWheel

Computational governance tooling
GNU Affero General Public License v3.0
9 stars 1 forks source link

Migrate to TypeScript #164

Open kronosapiens opened 3 months ago

kronosapiens commented 3 months ago

Stronger typing would help reduce errors by making it easier to insure that function invocations are being done correctly. It is currently far too easy to input arguments out-of-order or incorrectly.

IIRC Bolt has a hard time supporting typescript (see issue here), although it seems to have largely been resolved:

The latest major version of @slack/bolt is supported to build against a minimum TypeScript version of v4.1.

This should be investigated and the migration begun if possible