ts踩坑记录

想要引入某些接口interface的时候,单独引入部分是做不到的,需要像这样做:

import * as I from './MCollection'

export interface UserPage {
  files: I.MCollectionFile[]
  collection_count: number
  tags: string[]
}
posted @ 2021-07-18 15:43  Bravo_Jack  阅读(44)  评论(0编辑  收藏  举报