ts踩坑记录

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

import * as I from './MCollection'

export interface UserPage {
  files: I.MCollectionFile[]
  collection_count: number
  tags: string[]
}
原文地址:https://www.cnblogs.com/lyzz1314/p/15026737.html