newtype-ts

v0.2.3
Implementation of newtypes in TypeScript
typescript newtype functional-programming

lint

tslint src/**/*.ts test/**/*.ts

typings-checker

typings-checker --allow-expect-error --project typings-checker/tsconfig.json typings-checker/index.ts

jest

jest

prettier

prettier --no-semi --single-quote --print-width 120 --parser typescript --list-different "{src,test}/**/*.ts"

fix-prettier

prettier --no-semi --single-quote --print-width 120 --parser typescript --write "{src,test}/**/*.ts"

test

npm run prettier && npm run lint && npm run typings-checker && npm run jest

clean

rm -rf lib/*

build

npm run clean && tsc

Metadata

  • MIT
  • Whatever
  • Giulio Canti
  • released 11/12/2018

Downloads

Maintainers