Browse Source

migrate skill types

Aneurin Barker Snook 1 year ago
parent
commit
5d371c22f9
2 changed files with 7 additions and 6 deletions
  1. 7 1
      src/components/Skills.ts
  2. 0 5
      src/types.ts

+ 7 - 1
src/components/Skills.ts

@@ -1,6 +1,12 @@
-import { Skill } from '../types'
 import request, { ErrorResponse } from '@annybs/request-js'
 import request, { ErrorResponse } from '@annybs/request-js'
 
 
+export interface Skill {
+  name: string
+  link?: string
+  tags: string[]
+  detail?: string
+}
+
 export interface SkillsState {
 export interface SkillsState {
   currentTag: string | null
   currentTag: string | null
   skills: Skill[]
   skills: Skill[]

+ 0 - 5
src/types.ts

@@ -1,5 +0,0 @@
-export interface Skill {
-  name: string
-  tags: string[]
-  detail?: string
-}