├── .circleci └── config.yml ├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .github └── workflows │ ├── release.yaml │ └── test.yaml ├── .gitignore ├── .nvmrc ├── .prettierrc.js ├── LICENSE ├── Makefile ├── README.md ├── docs ├── API.md ├── API_TRANSFORMER.md ├── API_TYPE_CHECKER.md ├── CHANGELOG.md ├── CONTRIBUTING.md ├── INSTALLATION.md ├── SUPPORTED_TYPES.md └── SUPPORTED_TYPESCRIPT_VERSIONS.md ├── examples ├── .eslintrc.js ├── .gitignore ├── README.md ├── index.ts ├── jest │ ├── example.spec.ts │ ├── jest.config.js │ ├── package.json │ └── tsconfig.json ├── mocha │ ├── .mocharc.json │ ├── example.spec.ts │ ├── mocha.setup.js │ ├── package.json │ └── tsconfig.json ├── package.json ├── rollup │ ├── index.ts │ ├── package.json │ ├── rollup.config.js │ └── tsconfig.json ├── ts-node │ ├── index.ts │ ├── package.json │ └── tsconfig.json ├── tsconfig.json ├── ttypescript │ ├── index.ts │ ├── package.json │ └── tsconfig.json ├── webpack │ ├── index.ts │ ├── package.json │ ├── tsconfig.json │ └── webpack.config.js └── yarn.lock ├── package.json ├── res ├── ts-type-checked.jpg ├── ts-type-checked.png ├── ts-type-checked.svg └── ts-type-checked@xs.jpg ├── rollup.config.js ├── scripts └── create-version.sh ├── src ├── index.ts ├── package.json ├── runtime.ts └── transformer │ ├── index.ts │ ├── storage │ ├── HashTypeGuardRegistry.ts │ └── MapTypeDescriptorRegistry.ts │ ├── typeDescriptor │ ├── typeDescriptorGenerator.ts │ └── utils │ │ ├── assert.ts │ │ ├── getDOMElementClassName.ts │ │ ├── getFirstValidDeclaration.ts │ │ ├── getLibraryTypeDescriptorName.ts │ │ ├── getPropertyTypeDescriptors.ts │ │ └── messages.ts │ ├── typeGuard │ ├── typeGuardAsserter.ts │ ├── typeGuardGenerator.ts │ ├── typeGuardResolver.ts │ └── utils │ │ └── codeGenerators.ts │ ├── typeName │ ├── debugTypeNameGenerator.ts │ ├── productionTypeNameGenerator.ts │ └── typeNameResolver.ts │ ├── types.ts │ ├── utils │ ├── ast.ts │ ├── codeGenerators.ts │ ├── debug.ts │ ├── logger.ts │ ├── transformUsingVisitor.ts │ └── transformerOptions.ts │ └── visitor │ ├── assertions.ts │ └── typeCheckVisitor.ts ├── test ├── .eslintrc.js ├── jest.config.js ├── package.json ├── scripts │ ├── list-setups-for-typescript.js │ ├── test-with-every-version.sh │ ├── test-with-version.sh │ └── versions.txt ├── setups │ ├── issue-43--strict-mode │ │ ├── jest.config.js │ │ ├── package.json │ │ ├── tests │ │ │ └── withStrict.spec.ts │ │ └── tsconfig.json │ ├── react │ │ ├── jest.config.js │ │ ├── package.json │ │ ├── tests │ │ │ └── react.spec.tsx │ │ └── tsconfig.json │ ├── typescript--2.7.2 │ │ ├── jest.config.js │ │ ├── package.json │ │ ├── tests │ │ │ ├── arrays.spec.ts │ │ │ ├── basics.spec.ts │ │ │ ├── classes.spec.ts │ │ │ ├── dom.spec.ts │ │ │ ├── enums.spec.ts │ │ │ ├── indexed.spec.ts │ │ │ ├── interfaces.spec.ts │ │ │ ├── literals.spec.ts │ │ │ ├── map.spec.ts │ │ │ ├── promise.spec.ts │ │ │ ├── resolution.spec.ts │ │ │ ├── set.spec.ts │ │ │ └── special-cases.spec.ts │ │ └── tsconfig.json │ ├── typescript--2.8.3 │ │ ├── jest.config.js │ │ ├── package.json │ │ ├── tests │ │ │ └── conditional.spec.ts │ │ └── tsconfig.json │ ├── typescript--2.9.1 │ │ ├── jest.config.js │ │ ├── package.json │ │ ├── tests │ │ │ └── indexed.spec.ts │ │ └── tsconfig.json │ ├── typescript--3.0.1 │ │ ├── jest.config.js │ │ ├── package.json │ │ ├── tests │ │ │ └── unknown.spec.ts │ │ └── tsconfig.json │ ├── typescript--3.2.1 │ │ ├── jest.config.js │ │ ├── package.json │ │ ├── tests │ │ │ └── bigint.spec.ts │ │ └── tsconfig.json │ ├── typescript--3.8.2 │ │ ├── jest.config.js │ │ ├── package.json │ │ ├── tests │ │ │ └── classes.spec.ts │ │ └── tsconfig.json │ ├── typescript--4.0.2 │ │ ├── jest.config.js │ │ ├── package.json │ │ ├── tests │ │ │ └── literals.spec.ts │ │ └── tsconfig.json │ └── without-strict-mode │ │ ├── jest.config.js │ │ ├── package.json │ │ ├── tests │ │ └── withoutStrictMode.spec.ts │ │ └── tsconfig.json ├── tsconfig.json ├── utils │ ├── utils.v2.ts │ └── utils.v3.ts └── yarn.lock ├── tsconfig.json └── yarn.lock /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/release.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/.github/workflows/release.yaml -------------------------------------------------------------------------------- /.github/workflows/test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/.github/workflows/test.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/.gitignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 12.13.0 -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/README.md -------------------------------------------------------------------------------- /docs/API.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/docs/API.md -------------------------------------------------------------------------------- /docs/API_TRANSFORMER.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/docs/API_TRANSFORMER.md -------------------------------------------------------------------------------- /docs/API_TYPE_CHECKER.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/docs/API_TYPE_CHECKER.md -------------------------------------------------------------------------------- /docs/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/docs/CHANGELOG.md -------------------------------------------------------------------------------- /docs/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/docs/CONTRIBUTING.md -------------------------------------------------------------------------------- /docs/INSTALLATION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/docs/INSTALLATION.md -------------------------------------------------------------------------------- /docs/SUPPORTED_TYPES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/docs/SUPPORTED_TYPES.md -------------------------------------------------------------------------------- /docs/SUPPORTED_TYPESCRIPT_VERSIONS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/docs/SUPPORTED_TYPESCRIPT_VERSIONS.md -------------------------------------------------------------------------------- /examples/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/examples/.eslintrc.js -------------------------------------------------------------------------------- /examples/.gitignore: -------------------------------------------------------------------------------- 1 | **/index.js -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/examples/index.ts -------------------------------------------------------------------------------- /examples/jest/example.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/examples/jest/example.spec.ts -------------------------------------------------------------------------------- /examples/jest/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/examples/jest/jest.config.js -------------------------------------------------------------------------------- /examples/jest/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/examples/jest/package.json -------------------------------------------------------------------------------- /examples/jest/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/examples/jest/tsconfig.json -------------------------------------------------------------------------------- /examples/mocha/.mocharc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/examples/mocha/.mocharc.json -------------------------------------------------------------------------------- /examples/mocha/example.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/examples/mocha/example.spec.ts -------------------------------------------------------------------------------- /examples/mocha/mocha.setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/examples/mocha/mocha.setup.js -------------------------------------------------------------------------------- /examples/mocha/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/examples/mocha/package.json -------------------------------------------------------------------------------- /examples/mocha/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/examples/mocha/tsconfig.json -------------------------------------------------------------------------------- /examples/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/examples/package.json -------------------------------------------------------------------------------- /examples/rollup/index.ts: -------------------------------------------------------------------------------- 1 | import '../index'; 2 | -------------------------------------------------------------------------------- /examples/rollup/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/examples/rollup/package.json -------------------------------------------------------------------------------- /examples/rollup/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/examples/rollup/rollup.config.js -------------------------------------------------------------------------------- /examples/rollup/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json" 3 | } -------------------------------------------------------------------------------- /examples/ts-node/index.ts: -------------------------------------------------------------------------------- 1 | import '../index'; 2 | -------------------------------------------------------------------------------- /examples/ts-node/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/examples/ts-node/package.json -------------------------------------------------------------------------------- /examples/ts-node/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/examples/ts-node/tsconfig.json -------------------------------------------------------------------------------- /examples/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/examples/tsconfig.json -------------------------------------------------------------------------------- /examples/ttypescript/index.ts: -------------------------------------------------------------------------------- 1 | import '../index'; 2 | -------------------------------------------------------------------------------- /examples/ttypescript/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/examples/ttypescript/package.json -------------------------------------------------------------------------------- /examples/ttypescript/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/examples/ttypescript/tsconfig.json -------------------------------------------------------------------------------- /examples/webpack/index.ts: -------------------------------------------------------------------------------- 1 | import '../index'; 2 | -------------------------------------------------------------------------------- /examples/webpack/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/examples/webpack/package.json -------------------------------------------------------------------------------- /examples/webpack/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json" 3 | } -------------------------------------------------------------------------------- /examples/webpack/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/examples/webpack/webpack.config.js -------------------------------------------------------------------------------- /examples/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/examples/yarn.lock -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/package.json -------------------------------------------------------------------------------- /res/ts-type-checked.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/res/ts-type-checked.jpg -------------------------------------------------------------------------------- /res/ts-type-checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/res/ts-type-checked.png -------------------------------------------------------------------------------- /res/ts-type-checked.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/res/ts-type-checked.svg -------------------------------------------------------------------------------- /res/ts-type-checked@xs.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/res/ts-type-checked@xs.jpg -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/rollup.config.js -------------------------------------------------------------------------------- /scripts/create-version.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/scripts/create-version.sh -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/package.json -------------------------------------------------------------------------------- /src/runtime.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/runtime.ts -------------------------------------------------------------------------------- /src/transformer/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/index.ts -------------------------------------------------------------------------------- /src/transformer/storage/HashTypeGuardRegistry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/storage/HashTypeGuardRegistry.ts -------------------------------------------------------------------------------- /src/transformer/storage/MapTypeDescriptorRegistry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/storage/MapTypeDescriptorRegistry.ts -------------------------------------------------------------------------------- /src/transformer/typeDescriptor/typeDescriptorGenerator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/typeDescriptor/typeDescriptorGenerator.ts -------------------------------------------------------------------------------- /src/transformer/typeDescriptor/utils/assert.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/typeDescriptor/utils/assert.ts -------------------------------------------------------------------------------- /src/transformer/typeDescriptor/utils/getDOMElementClassName.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/typeDescriptor/utils/getDOMElementClassName.ts -------------------------------------------------------------------------------- /src/transformer/typeDescriptor/utils/getFirstValidDeclaration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/typeDescriptor/utils/getFirstValidDeclaration.ts -------------------------------------------------------------------------------- /src/transformer/typeDescriptor/utils/getLibraryTypeDescriptorName.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/typeDescriptor/utils/getLibraryTypeDescriptorName.ts -------------------------------------------------------------------------------- /src/transformer/typeDescriptor/utils/getPropertyTypeDescriptors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/typeDescriptor/utils/getPropertyTypeDescriptors.ts -------------------------------------------------------------------------------- /src/transformer/typeDescriptor/utils/messages.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/typeDescriptor/utils/messages.ts -------------------------------------------------------------------------------- /src/transformer/typeGuard/typeGuardAsserter.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/transformer/typeGuard/typeGuardGenerator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/typeGuard/typeGuardGenerator.ts -------------------------------------------------------------------------------- /src/transformer/typeGuard/typeGuardResolver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/typeGuard/typeGuardResolver.ts -------------------------------------------------------------------------------- /src/transformer/typeGuard/utils/codeGenerators.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/typeGuard/utils/codeGenerators.ts -------------------------------------------------------------------------------- /src/transformer/typeName/debugTypeNameGenerator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/typeName/debugTypeNameGenerator.ts -------------------------------------------------------------------------------- /src/transformer/typeName/productionTypeNameGenerator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/typeName/productionTypeNameGenerator.ts -------------------------------------------------------------------------------- /src/transformer/typeName/typeNameResolver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/typeName/typeNameResolver.ts -------------------------------------------------------------------------------- /src/transformer/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/types.ts -------------------------------------------------------------------------------- /src/transformer/utils/ast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/utils/ast.ts -------------------------------------------------------------------------------- /src/transformer/utils/codeGenerators.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/utils/codeGenerators.ts -------------------------------------------------------------------------------- /src/transformer/utils/debug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/utils/debug.ts -------------------------------------------------------------------------------- /src/transformer/utils/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/utils/logger.ts -------------------------------------------------------------------------------- /src/transformer/utils/transformUsingVisitor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/utils/transformUsingVisitor.ts -------------------------------------------------------------------------------- /src/transformer/utils/transformerOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/utils/transformerOptions.ts -------------------------------------------------------------------------------- /src/transformer/visitor/assertions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/visitor/assertions.ts -------------------------------------------------------------------------------- /src/transformer/visitor/typeCheckVisitor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/src/transformer/visitor/typeCheckVisitor.ts -------------------------------------------------------------------------------- /test/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/.eslintrc.js -------------------------------------------------------------------------------- /test/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/jest.config.js -------------------------------------------------------------------------------- /test/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/package.json -------------------------------------------------------------------------------- /test/scripts/list-setups-for-typescript.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/scripts/list-setups-for-typescript.js -------------------------------------------------------------------------------- /test/scripts/test-with-every-version.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/scripts/test-with-every-version.sh -------------------------------------------------------------------------------- /test/scripts/test-with-version.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/scripts/test-with-version.sh -------------------------------------------------------------------------------- /test/scripts/versions.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/scripts/versions.txt -------------------------------------------------------------------------------- /test/setups/issue-43--strict-mode/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../../jest.config'); 2 | -------------------------------------------------------------------------------- /test/setups/issue-43--strict-mode/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/issue-43--strict-mode/package.json -------------------------------------------------------------------------------- /test/setups/issue-43--strict-mode/tests/withStrict.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/issue-43--strict-mode/tests/withStrict.spec.ts -------------------------------------------------------------------------------- /test/setups/issue-43--strict-mode/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/issue-43--strict-mode/tsconfig.json -------------------------------------------------------------------------------- /test/setups/react/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../../jest.config'); 2 | -------------------------------------------------------------------------------- /test/setups/react/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/react/package.json -------------------------------------------------------------------------------- /test/setups/react/tests/react.spec.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/react/tests/react.spec.tsx -------------------------------------------------------------------------------- /test/setups/react/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/react/tsconfig.json -------------------------------------------------------------------------------- /test/setups/typescript--2.7.2/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../../jest.config'); 2 | -------------------------------------------------------------------------------- /test/setups/typescript--2.7.2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--2.7.2/package.json -------------------------------------------------------------------------------- /test/setups/typescript--2.7.2/tests/arrays.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--2.7.2/tests/arrays.spec.ts -------------------------------------------------------------------------------- /test/setups/typescript--2.7.2/tests/basics.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--2.7.2/tests/basics.spec.ts -------------------------------------------------------------------------------- /test/setups/typescript--2.7.2/tests/classes.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--2.7.2/tests/classes.spec.ts -------------------------------------------------------------------------------- /test/setups/typescript--2.7.2/tests/dom.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--2.7.2/tests/dom.spec.ts -------------------------------------------------------------------------------- /test/setups/typescript--2.7.2/tests/enums.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--2.7.2/tests/enums.spec.ts -------------------------------------------------------------------------------- /test/setups/typescript--2.7.2/tests/indexed.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--2.7.2/tests/indexed.spec.ts -------------------------------------------------------------------------------- /test/setups/typescript--2.7.2/tests/interfaces.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--2.7.2/tests/interfaces.spec.ts -------------------------------------------------------------------------------- /test/setups/typescript--2.7.2/tests/literals.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--2.7.2/tests/literals.spec.ts -------------------------------------------------------------------------------- /test/setups/typescript--2.7.2/tests/map.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--2.7.2/tests/map.spec.ts -------------------------------------------------------------------------------- /test/setups/typescript--2.7.2/tests/promise.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--2.7.2/tests/promise.spec.ts -------------------------------------------------------------------------------- /test/setups/typescript--2.7.2/tests/resolution.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--2.7.2/tests/resolution.spec.ts -------------------------------------------------------------------------------- /test/setups/typescript--2.7.2/tests/set.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--2.7.2/tests/set.spec.ts -------------------------------------------------------------------------------- /test/setups/typescript--2.7.2/tests/special-cases.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--2.7.2/tests/special-cases.spec.ts -------------------------------------------------------------------------------- /test/setups/typescript--2.7.2/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--2.7.2/tsconfig.json -------------------------------------------------------------------------------- /test/setups/typescript--2.8.3/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../../jest.config'); 2 | -------------------------------------------------------------------------------- /test/setups/typescript--2.8.3/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--2.8.3/package.json -------------------------------------------------------------------------------- /test/setups/typescript--2.8.3/tests/conditional.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--2.8.3/tests/conditional.spec.ts -------------------------------------------------------------------------------- /test/setups/typescript--2.8.3/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json" 3 | } -------------------------------------------------------------------------------- /test/setups/typescript--2.9.1/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../../jest.config'); 2 | -------------------------------------------------------------------------------- /test/setups/typescript--2.9.1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--2.9.1/package.json -------------------------------------------------------------------------------- /test/setups/typescript--2.9.1/tests/indexed.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--2.9.1/tests/indexed.spec.ts -------------------------------------------------------------------------------- /test/setups/typescript--2.9.1/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json" 3 | } -------------------------------------------------------------------------------- /test/setups/typescript--3.0.1/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../../jest.config'); 2 | -------------------------------------------------------------------------------- /test/setups/typescript--3.0.1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--3.0.1/package.json -------------------------------------------------------------------------------- /test/setups/typescript--3.0.1/tests/unknown.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--3.0.1/tests/unknown.spec.ts -------------------------------------------------------------------------------- /test/setups/typescript--3.0.1/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json" 3 | } -------------------------------------------------------------------------------- /test/setups/typescript--3.2.1/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../../jest.config'); 2 | -------------------------------------------------------------------------------- /test/setups/typescript--3.2.1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--3.2.1/package.json -------------------------------------------------------------------------------- /test/setups/typescript--3.2.1/tests/bigint.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--3.2.1/tests/bigint.spec.ts -------------------------------------------------------------------------------- /test/setups/typescript--3.2.1/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--3.2.1/tsconfig.json -------------------------------------------------------------------------------- /test/setups/typescript--3.8.2/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../../jest.config'); 2 | -------------------------------------------------------------------------------- /test/setups/typescript--3.8.2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--3.8.2/package.json -------------------------------------------------------------------------------- /test/setups/typescript--3.8.2/tests/classes.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--3.8.2/tests/classes.spec.ts -------------------------------------------------------------------------------- /test/setups/typescript--3.8.2/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--3.8.2/tsconfig.json -------------------------------------------------------------------------------- /test/setups/typescript--4.0.2/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../../jest.config'); 2 | -------------------------------------------------------------------------------- /test/setups/typescript--4.0.2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--4.0.2/package.json -------------------------------------------------------------------------------- /test/setups/typescript--4.0.2/tests/literals.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--4.0.2/tests/literals.spec.ts -------------------------------------------------------------------------------- /test/setups/typescript--4.0.2/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/typescript--4.0.2/tsconfig.json -------------------------------------------------------------------------------- /test/setups/without-strict-mode/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../../jest.config'); 2 | -------------------------------------------------------------------------------- /test/setups/without-strict-mode/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/without-strict-mode/package.json -------------------------------------------------------------------------------- /test/setups/without-strict-mode/tests/withoutStrictMode.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/without-strict-mode/tests/withoutStrictMode.spec.ts -------------------------------------------------------------------------------- /test/setups/without-strict-mode/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/setups/without-strict-mode/tsconfig.json -------------------------------------------------------------------------------- /test/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/tsconfig.json -------------------------------------------------------------------------------- /test/utils/utils.v2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/utils/utils.v2.ts -------------------------------------------------------------------------------- /test/utils/utils.v3.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/utils/utils.v3.ts -------------------------------------------------------------------------------- /test/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/test/yarn.lock -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janjakubnanista/ts-type-checked/HEAD/yarn.lock --------------------------------------------------------------------------------