eslint-plugin

@masknet/type/no-wrapper-type-reference

Disallow wrapper type for type reference

Rule Details

:x: Incorrect

const n: BigInt
const n: Boolean
const n: Number
const n: String
const n: Symbol

:white_check_mark: Correct

const n: bigint
const n: boolean
const n: number
const n: string
const n: symbol

Attributes