type Params = { hello: string; }; export default function test(params: Params) { return params.world; }