Added typescript support for most backend files.

This commit is contained in:
SamTV12345 2023-06-22 22:54:02 +02:00
parent d6abab6c74
commit 331cf3d79f
No known key found for this signature in database
GPG key ID: E63EEC7466038043
46 changed files with 19975 additions and 7995 deletions

View file

@ -54,7 +54,10 @@
* There is one attribute pool per pad, and it includes every current and historical attribute used
* in the pad.
*/
class AttributePool {
export class AttributePool {
numToAttrib: {};
private attribToNum: {};
private nextNum: number;
constructor() {
/**
* Maps an attribute identifier to the attribute's `[key, value]` string pair.