rewrite ^/full_category(/category1/.+) $1 permanent;
tsc --watch
в терминалеclass Foo {
constructor() {
// do something
}
protected init() {
// init more
}
static CreateWithInit() {
const foo = new Foo();
foo.init();
return foo;
}
}
const myFoo = Foo.CreateWithInit();