I've recently found this syntax in a project:
export function UseDatabase() {
...
}
export class LocalDatabase {
@UseDatabase()
static async initializeDatabse() {
...
}
...
}
can someone explain me what is this @-syntax
used as @UseDatabase
?