server-ts: Port share/shaca/abstract_shaca_entity

This commit is contained in:
Elian Doran
2024-04-09 21:48:15 +03:00
parent 39e152b0b9
commit 45e3632c6e
5 changed files with 8 additions and 8 deletions

View File

@@ -0,0 +1,14 @@
let shaca: any;
class AbstractShacaEntity {
// FIXME: Use right data type once we convert Shaca as well.
get shaca(): any {
if (!shaca) {
shaca = require('../shaca.js');
}
return shaca;
}
}
export = AbstractShacaEntity;