Переглянути джерело

refactor(types): 添加 Feature 接口

添加了 Feature 接口,定义了包含 img、title、subtitle 和 href 属性的结构。
nahida 8 місяців тому
батько
коміт
7181977e6e
1 змінених файлів з 7 додано та 0 видалено
  1. 7 0
      src/types/index.ts

+ 7 - 0
src/types/index.ts

@@ -0,0 +1,7 @@
+
+interface Feature {
+  img: string
+  title: string
+  subtitle: string
+  href: string
+}