import helper from "nestia-helper" ; import * as nest from "@nestjs/common" ; import std from "tstl" ; @ nest . Controller ( "misc/health-check" ) export class HealthCheckController { @ nest . Get ( ) public get ( ) { } @ nest . Get ( "sleep-for/:ms" ) public async sleep_for ( @ helper . TypedParam ( "ms" , "number" ) ms ) { await std . sleep_for ( ms ) ; } }