3.0.1 • Published 2 years ago

@ekb1zh/json-types v3.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

JSON data types definition

Install

npm i -D @ekb1zh/json-types

Using

import type * as Json from '@ekb1zh/json-types'

const jsonObject: Json.Object = {
  // your properties
}

Source

export type Value = Primitive | Array | Object
export type Primitive = null | boolean | number | string
export type Array = Value[]
export type Object = {
  [key: string]: Value
}
3.0.1

2 years ago

3.0.0

2 years ago

2.0.7

3 years ago

2.0.6

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.0

3 years ago