Passed
Push — master ( 4ed6ec...79dc51 )
by Alberto
47s queued 11s
created

src/io/IdentifierC.ts

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 8
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 0
eloc 6
mnd 0
bc 0
fnc 0
dl 0
loc 8
ccs 3
cts 3
cp 1
bpm 0
cpm 0
noi 0
c 0
b 0
f 0
1 1
import * as t from 'io-ts';
2 1
import {NonEmptyString} from 'io-ts-types/lib/NonEmptyString';
3
4 1
export const IdentifierC = t.union([
5
  t.number,
6
  NonEmptyString
7
]);
8