こんにちは、静的メソッド (ヘルパー) のみを持つ「静的クラス」Utils があります。
export class Utils {
static doSomethingAndRedirect() {
...doo something...
redirectTo->'/home'
}
}
では、redirectTo
コードはどのように見えるべきでしょうか?
こんにちは、静的メソッド (ヘルパー) のみを持つ「静的クラス」Utils があります。
export class Utils {
static doSomethingAndRedirect() {
...doo something...
redirectTo->'/home'
}
}
では、redirectTo
コードはどのように見えるべきでしょうか?