2025-02-26 15:59:55 +07:00

10 lines
238 B
TypeScript

import { expose } from "@kksh/api/headless";
import { BaseExt } from "./base";
class ReverseExt extends BaseExt {
constructor() {
super((text: string) => text.split('').reverse().join(''));
}
}
expose(new ReverseExt());