├── dtslint ├── ts3.5 │ ├── index.d.ts │ ├── tsconfig.json │ ├── tslint.json │ └── index.ts └── index.d.ts ├── docs ├── index.md ├── modules │ ├── index.md │ ├── index.ts.md │ ├── fromRefinement.ts.md │ ├── date.ts.md │ ├── clone.ts.md │ ├── setFromArray.ts.md │ ├── nonEmptyArray.ts.md │ ├── optionFromNullable.ts.md │ ├── NumberFromString.ts.md │ ├── regexp.ts.md │ ├── withFallback.ts.md │ ├── readonlySetFromArray.ts.md │ ├── mapFromEntries.ts.md │ ├── DateFromNumber.ts.md │ ├── withMessage.ts.md │ ├── DateFromUnixTime.ts.md │ ├── DateFromISOString.ts.md │ ├── withValidate.ts.md │ ├── readonlyMapFromEntries.ts.md │ ├── withEncode.ts.md │ ├── fromNullable.ts.md │ ├── IntFromString.ts.md │ ├── fromNewtype.ts.md │ ├── BooleanFromString.ts.md │ ├── readonlyNonEmptyArray.ts.md │ ├── mapOutput.ts.md │ ├── UUID.ts.md │ ├── BooleanFromNumber.ts.md │ ├── getLenses.ts.md │ ├── BigIntFromString.ts.md │ ├── JsonFromString.ts.md │ ├── NonEmptyString.ts.md │ ├── option.ts.md │ └── either.ts.md └── _config.yml ├── .gitignore ├── .vscode └── settings.json ├── .prettierrc ├── tsconfig.build.json ├── tsconfig.tslint.json ├── tsconfig.build-es6.json ├── .github ├── ISSUE_TEMPLATE │ ├── Documentation.md │ ├── Bug_report.md │ └── Feature_request.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ └── main.yml ├── scripts ├── pre-publish.ts ├── run.ts ├── release.ts ├── FileSystem.ts └── build.ts ├── tslint.json ├── test ├── date.ts ├── withMessage.ts ├── UUID.ts ├── BooleanFromString.ts ├── BooleanFromNumber.ts ├── mapOutput.ts ├── regexp.ts ├── tsconfig.json ├── fromNullable.ts ├── getLenses.ts ├── readonlyNonEmptyArray.ts ├── NumberFromString.ts ├── DateFromISOString.ts ├── IntFromString.ts ├── withEncode.ts ├── DateFromNumber.ts ├── readonlySetFromArray.ts ├── fromNewtype.ts ├── NonEmptyString.ts ├── DateFromUnixTime.ts ├── withFallback.ts ├── either.ts ├── readonlyMapFromEntries.ts ├── BigIntFromString.ts ├── nonEmptyArray.ts ├── helpers.ts ├── optionFromNullable.ts ├── setFromArray.ts ├── JsonFromString.ts ├── option.ts └── mapFromEntries.ts ├── src ├── fromRefinement.ts ├── date.ts ├── clone.ts ├── readonlySetFromArray.ts ├── readonlyNonEmptyArray.ts ├── readonlyMapFromEntries.ts ├── regexp.ts ├── withFallback.ts ├── NumberFromString.ts ├── withEncode.ts ├── UUID.ts ├── optionFromNullable.ts ├── DateFromNumber.ts ├── DateFromISOString.ts ├── DateFromUnixTime.ts ├── fromNullable.ts ├── withValidate.ts ├── withMessage.ts ├── NonEmptyString.ts ├── mapOutput.ts ├── nonEmptyArray.ts ├── setFromArray.ts ├── BooleanFromNumber.ts ├── IntFromString.ts ├── BooleanFromString.ts ├── JsonFromString.ts ├── getLenses.ts ├── fromNewtype.ts ├── BigIntFromString.ts ├── option.ts ├── mapFromEntries.ts ├── either.ts └── index.ts ├── jest.config.js ├── tsconfig.json ├── README.md ├── LICENSE ├── package.json └── CHANGELOG.md /dtslint/ts3.5/index.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dtslint/index.d.ts: -------------------------------------------------------------------------------- 1 | // TypeScript Version: 3.5 2 | -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Home 3 | nav_order: 1 4 | --- 5 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | node_modules 3 | /dist 4 | dev 5 | coverage 6 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "typescript.tsdk": "./node_modules/typescript/lib" 3 | } 4 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "semi": false, 3 | "singleQuote": true, 4 | "printWidth": 120 5 | } 6 | -------------------------------------------------------------------------------- /docs/modules/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Modules 3 | has_children: true 4 | permalink: /docs/modules 5 | nav_order: 2 6 | --- 7 | -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "noEmit": false 5 | }, 6 | "include": ["./src"] 7 | } 8 | -------------------------------------------------------------------------------- /tsconfig.tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "noEmit": true 5 | }, 6 | "include": ["./test/**/*"] 7 | } 8 | -------------------------------------------------------------------------------- /tsconfig.build-es6.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.build.json", 3 | "compilerOptions": { 4 | "outDir": "./dist/es6", 5 | "module": "es6" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/Documentation.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: "\U0001F41B Documentation" 3 | about: Improvements or suggestions of io-ts-types documentation 4 | --- 5 | 6 | ## 📖 Documentation 7 | -------------------------------------------------------------------------------- /scripts/pre-publish.ts: -------------------------------------------------------------------------------- 1 | import { left } from 'fp-ts/TaskEither' 2 | import { run } from './run' 3 | 4 | const main = left(new Error('"npm publish" can not be run from root, run "npm run release" instead')) 5 | 6 | run(main) 7 | 8 | -------------------------------------------------------------------------------- /docs/modules/index.ts.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: index.ts 3 | nav_order: 14 4 | parent: Modules 5 | --- 6 | 7 | # index overview 8 | 9 | Added in v0.5.8 10 | 11 | --- 12 | 13 |