diff --git a/src/components/ui/index.ts b/src/components/ui/index.ts index cd279fa..59006bb 100644 --- a/src/components/ui/index.ts +++ b/src/components/ui/index.ts @@ -1,3 +1,11 @@ +/* eslint-disable no-unused-vars */ +/* eslint-disable @typescript-eslint/no-unsafe-member-access */ +/* eslint-disable @typescript-eslint/no-unused-vars */ +function endsWith(x: string, y: string) { + const index = x.lastIndexOf(y); + return x.lastIndexOf(y) === x.length - y.length; +} + export { Block } from "./Block"; export { Container } from "./Container"; export { Flex } from "./Flex";