Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 280 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 280 Bytes

mobile-operator

types

enum OperatorType {
  ALL = 0,
  CMCC = 1,
  CUCC = 2,
  CTCC = 3,
  UNKNOWN = -1
}

interface Operator {
  name: string
  type: OperatorType
}

// example
const CMCC: Operator = {
  name: '中国移动',
  type: OperatorType.CMCC
}