Node: Migrate to ES Modules

This commit is contained in:
Cohee
2024-10-10 22:37:22 +03:00
parent 5a52196331
commit d52b4fbbde
74 changed files with 1291 additions and 1140 deletions
+1 -3
View File
@@ -5,7 +5,7 @@
*
* @link https://github.com/malfoyslastname/character-card-spec-v2
*/
class TavernCardValidator {
export class TavernCardValidator {
/**
* @type {string|null}
*/
@@ -167,5 +167,3 @@ class TavernCardValidator {
return true;
}
}
module.exports = { TavernCardValidator };