├── .gitignore ├── .prettierignore ├── .vscode └── settings.json ├── README.md ├── common └── types.ts ├── example.ts ├── package.json ├── parser ├── constants.ts └── index.ts ├── pnpm-lock.yaml ├── tests ├── fixtures │ ├── 01_type_literal.ts │ ├── 02_tuple.ts │ ├── 03_literals.ts │ ├── 04_keywords.ts │ ├── 05_mapped_type.ts │ ├── 06_type_imports.ts │ ├── 07_type_operators.ts │ ├── 08_conditional_types.ts │ ├── 09_type_predicates.ts │ ├── 10_function_types.ts │ ├── 11_precedence.ts │ └── tsconfig.json └── run.test.ts ├── tokenizer ├── constants.ts └── index.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | tests/fixtures/** 2 | pnpm-lock.yaml -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/README.md -------------------------------------------------------------------------------- /common/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/common/types.ts -------------------------------------------------------------------------------- /example.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/example.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/package.json -------------------------------------------------------------------------------- /parser/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/parser/constants.ts -------------------------------------------------------------------------------- /parser/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/parser/index.ts -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /tests/fixtures/01_type_literal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/tests/fixtures/01_type_literal.ts -------------------------------------------------------------------------------- /tests/fixtures/02_tuple.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/tests/fixtures/02_tuple.ts -------------------------------------------------------------------------------- /tests/fixtures/03_literals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/tests/fixtures/03_literals.ts -------------------------------------------------------------------------------- /tests/fixtures/04_keywords.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/tests/fixtures/04_keywords.ts -------------------------------------------------------------------------------- /tests/fixtures/05_mapped_type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/tests/fixtures/05_mapped_type.ts -------------------------------------------------------------------------------- /tests/fixtures/06_type_imports.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/tests/fixtures/06_type_imports.ts -------------------------------------------------------------------------------- /tests/fixtures/07_type_operators.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/tests/fixtures/07_type_operators.ts -------------------------------------------------------------------------------- /tests/fixtures/08_conditional_types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/tests/fixtures/08_conditional_types.ts -------------------------------------------------------------------------------- /tests/fixtures/09_type_predicates.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/tests/fixtures/09_type_predicates.ts -------------------------------------------------------------------------------- /tests/fixtures/10_function_types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/tests/fixtures/10_function_types.ts -------------------------------------------------------------------------------- /tests/fixtures/11_precedence.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/tests/fixtures/11_precedence.ts -------------------------------------------------------------------------------- /tests/fixtures/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/tests/fixtures/tsconfig.json -------------------------------------------------------------------------------- /tests/run.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/tests/run.test.ts -------------------------------------------------------------------------------- /tokenizer/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/tokenizer/constants.ts -------------------------------------------------------------------------------- /tokenizer/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/tokenizer/index.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/easrng/tsints/HEAD/tsconfig.json --------------------------------------------------------------------------------