MCPcopy
hub / github.com/typescript-exercises/typescript-exercises

github.com/typescript-exercises/typescript-exercises @main sqlite

repository ↗ · DeepWiki ↗
277 symbols 539 edges 93 files 0 documented · 0%
README

TypeScript exercises

Start your journey here: https://typescript-exercises.github.io/

The goal: Let everyone play with many different TypeScript features and get an overview of TypeScript capabilities and principles.

Sponsor me: https://github.com/sponsors/mdevils

Things to cover

  1. Basic typing.
  2. Refining types.
  3. Union types.
  4. Merged types.
  5. Generics.
  6. Type declarations.
  7. Module augmentation.
  8. Advanced type mapping.

Rules and principles

  1. Avoid using any type at all costs.

  2. Difficulty quickly grows one exercise after another.

  3. Feel free to send pull requests if you've come up with improvements!

  4. Provide feedback to the creator of these exercises.

  5. Enjoy.

Contributing

  1. Your contributions are welcome.

  2. yarn start starts the development server.

Extension points exported contracts — how you extend this code

FileTreeBranch (Interface)
(no doc)
src/components/file-tree-view/index.tsx
TypeScriptService (Interface)
(no doc)
src/operators/check-type-script-project/index.ts
ValidationError (Interface)
(no doc)
src/lib/validation-error.ts
AppThemeContextValue (Interface)
(no doc)
src/containers/app-theme-provider/index.tsx
Theme (Interface)
(no doc)
src/styles/emotion.d.ts
ExercisesProgress (Interface)
(no doc)
src/observables/exercises-progress.ts
User (Interface)
(no doc)
src/exercises/4/index.ts
DiffDialogProps (Interface)
(no doc)
src/components/monaco-editor/diff-dialog.tsx

Core symbols most depended-on inside this repo

keys
called by 20
src/lib/webpack-context.d.ts
resolvePathWrapper
called by 10
src/operators/check-type-script-project/in-memory-file-system.ts
set
called by 9
src/exercises/15/index.ts
swap
called by 8
src/exercises/7/index.ts
toFunctional
called by 6
src/exercises/14/index.solution.ts
filterPersons
called by 6
src/exercises/6/index.ts
colorizeIndex
called by 6
src/exercises/12/index.ts
load
called by 5
src/components/loading-container/index.tsx

Shape

Function 155
Interface 79
Method 33
Class 10

Languages

TypeScript100%

Modules by API surface

src/exercises/14/index.solution.ts15 symbols
src/operators/check-type-script-project/in-memory-file-system.ts12 symbols
src/components/monaco-editor/index.tsx11 symbols
src/exercises/7/index.ts10 symbols
src/exercises/7/index.solution.ts10 symbols
src/exercises/10/index.solution.ts10 symbols
src/exercises/10/index.ts9 symbols
src/observables/exercise.ts8 symbols
src/exercises/9/index.ts8 symbols
src/exercises/9/index.solution.ts8 symbols
src/components/monaco-diff-viewer/index.tsx8 symbols
src/operators/check-type-script-project/index.ts7 symbols

Dependencies from manifests, versioned

@babel/plugin-proposal-private-property-in-object7.21.10 · 1×
@emotion/core10.0.28 · 1×
@emotion/react11.10.4 · 1×
@emotion/styled10.0.27 · 1×
@types/debounce1.2.0 · 1×
@types/jest24.0.0 · 1×
@types/node12.0.0 · 1×
@types/qs6.9.7 · 1×
@types/react16.9.0 · 1×
@types/react-dom16.9.0 · 1×
@types/react-redux7.1.9 · 1×
@types/redux3.6.0 · 1×

For agents

$ claude mcp add typescript-exercises \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact