import { Checking, type Test } from "hry-types"; import { RootComponent } from "../../../../.."; RootComponent()({ methods: { M1() { return 1; }, M2(str: string) { Checking 1, Test.Pass>; Checking string, Test.Pass>; return str; }, }, });