From 062c824f316f2a6952ac1b732ca4e16b2f7a7982 Mon Sep 17 00:00:00 2001 From: Matt Pocock Date: Tue, 12 Sep 2023 17:19:02 +0100 Subject: [PATCH] 2023-09-12T16:19:02.540Z --- plan.md | 6 +++++- .../tsconfig.json | 2 ++ .../191-no-emit.problem copy/tsconfig.json | 13 +++++++++++++ .../191-no-emit.problem/tsconfig.json | 4 ++-- .../191-no-emit.solution copy/tsconfig.json | 13 +++++++++++++ ...trict-mode.problem.ts => 200-lib-dom.problem.ts} | 0 ...ict-mode.solution.ts => 200-lib-dom.solution.ts} | 0 ...s.problem.ts => 201-lib-dom-iterable.problem.ts} | 0 ...solution.ts => 201-lib-dom-iterable.solution.ts} | 0 ...> 202-rules-that-make-up-strict-mode.problem.ts} | 0 ... 202-rules-that-make-up-strict-mode.solution.ts} | 0 ...s => 203-no-unchecked-indexed-access.problem.ts} | 0 ... => 203-no-unchecked-indexed-access.solution.ts} | 0 ...claration-files-and-declaration-maps.problem.ts} | 0 ...laration-files-and-declaration-maps.solution.ts} | 0 ....ts => 205-setting-up-types-for-node.problem.ts} | 0 ...ts => 205-setting-up-types-for-node.solution.ts} | 0 ... 206-set-up-types-for-simple-scripts.problem.ts} | 0 ...206-set-up-types-for-simple-scripts.solution.ts} | 0 .../207-set-up-types-for-test-files.problem.ts} | 0 .../207-set-up-types-for-test-files.solution.ts} | 0 ...208-set-up-types-for-bundled-web-app.problem.ts} | 0 ...08-set-up-types-for-bundled-web-app.solution.ts} | 0 ....ts => 209-intro-to-the-utils-folder.problem.ts} | 0 ...ts => 209-intro-to-the-utils-folder.solution.ts} | 0 ...-generic-functions-without-inference.problem.ts} | 0 ...generic-functions-without-inference.solution.ts} | 0 ...ameter-defaults-in-generic-functions.problem.ts} | 0 ...meter-defaults-in-generic-functions.solution.ts} | 0 ...r-constraints-with-generic-functions.problem.ts} | 0 ...-constraints-with-generic-functions.solution.ts} | 0 ...213-generic-functions-with-inference.problem.ts} | 0 ...13-generic-functions-with-inference.solution.ts} | 0 ... 214-as-any-inside-generic-functions.problem.ts} | 0 ...214-as-any-inside-generic-functions.solution.ts} | 0 ...em.ts => 215-multiple-type-arguments.problem.ts} | 0 ...n.ts => 215-multiple-type-arguments.solution.ts} | 0 ...m.ts => 216-create-group-by-function.problem.ts} | 0 ....ts => 216-create-group-by-function.solution.ts} | 0 ...ds.problem.ts => 217-type-predicates.problem.ts} | 0 ....solution.ts => 217-type-predicates.solution.ts} | 0 .../218-assertion-functions.problem.ts} | 0 .../218-assertion-functions.solution.ts} | 0 .../219-function-overloads.problem.ts} | 0 .../219-function-overloads.solution.ts} | 0 ...problem.ts => 220-hungarian-notation.problem.ts} | 0 ...lution.ts => 220-hungarian-notation.solution.ts} | 0 ...er.ts => 221-where-to-put-your-types.problem.ts} | 0 ...m.ts => 221-where-to-put-your-types.solution.ts} | 0 ...lution.ts => 222-colocation-of-types.problem.ts} | 0 ...oblem.ts => 222-colocation-of-types.solution.ts} | 0 ...lution.ts => 223-setting-up-eslint.explainer.ts} | 0 ...m.ts => 224-explicit-any-rule-or-not.problem.ts} | 0 ....ts => 224-explicit-any-rule-or-not.solution.ts} | 0 ... => 225-explicit-return-types-or-not.problem.ts} | 0 ...=> 225-explicit-return-types-or-not.solution.ts} | 0 ...-any-vs-ts-ignore-vs-ts-expect-error.problem.ts} | 0 ...any-vs-ts-ignore-vs-ts-expect-error.solution.ts} | 0 ...re-type-and-value-with-the-same-name.problem.ts} | 0 ...e-type-and-value-with-the-same-name.solution.ts} | 0 ...roblem.ts => 228-types-vs-interfaces.problem.ts} | 0 ...ution.ts => 228-types-vs-interfaces.solution.ts} | 0 ...ction-object-string-boolean-as-types.problem.ts} | 0 ...tion-object-string-boolean-as-types.solution.ts} | 0 ...30-dont-use-globally-available-types.problem.ts} | 0 ...0-dont-use-globally-available-types.solution.ts} | 0 ...1-how-strict-should-you-configure-ts.problem.ts} | 0 ...-how-strict-should-you-configure-ts.solution.ts} | 0 .../232-dont-unnecessarily-widen-types.problem.ts} | 0 .../232-dont-unnecessarily-widen-types.solution.ts} | 0 ...t-file-by-file-vs-ramp-up-strictness.problem.ts} | 0 ...-file-by-file-vs-ramp-up-strictness.solution.ts} | 0 ...problem.ts => 234-dependencies-first.problem.ts} | 0 ...lution.ts => 234-dependencies-first.solution.ts} | 0 ...ts => 235-typing-third-party-modules.problem.ts} | 0 ...s => 235-typing-third-party-modules.solution.ts} | 0 ...s-with-jsdoc.problem.ts => 236-madge.problem.ts} | 0 ...with-jsdoc.solution.ts => 236-madge.solution.ts} | 0 ...rstanding-the-structure-of-ts-errors.problem.ts} | 0 ...standing-the-structure-of-ts-errors.solution.ts} | 0 .../238-experiments-with-jsdoc.problem.ts | 0 .../238-experiments-with-jsdoc.solution.ts | 0 ...-jsdoc-cannot-pass-types-to-functions.problem.ts | 0 ...jsdoc-cannot-pass-types-to-functions.solution.ts | 0 tsconfig.json | 3 +++ 85 files changed, 38 insertions(+), 3 deletions(-) create mode 100644 src/080-configuring-typescript/191-no-emit.problem copy/tsconfig.json create mode 100644 src/080-configuring-typescript/191-no-emit.solution copy/tsconfig.json rename src/080-configuring-typescript/{200-rules-that-make-up-strict-mode.problem.ts => 200-lib-dom.problem.ts} (100%) rename src/080-configuring-typescript/{200-rules-that-make-up-strict-mode.solution.ts => 200-lib-dom.solution.ts} (100%) rename src/080-configuring-typescript/{201-no-unchecked-indexed-access.problem.ts => 201-lib-dom-iterable.problem.ts} (100%) rename src/080-configuring-typescript/{201-no-unchecked-indexed-access.solution.ts => 201-lib-dom-iterable.solution.ts} (100%) rename src/080-configuring-typescript/{202-creating-declaration-files-and-declaration-maps.problem.ts => 202-rules-that-make-up-strict-mode.problem.ts} (100%) rename src/080-configuring-typescript/{202-creating-declaration-files-and-declaration-maps.solution.ts => 202-rules-that-make-up-strict-mode.solution.ts} (100%) rename src/080-configuring-typescript/{203-setting-up-types-for-node.problem.ts => 203-no-unchecked-indexed-access.problem.ts} (100%) rename src/080-configuring-typescript/{203-setting-up-types-for-node.solution.ts => 203-no-unchecked-indexed-access.solution.ts} (100%) rename src/080-configuring-typescript/{204-set-up-types-for-simple-scripts.problem.ts => 204-creating-declaration-files-and-declaration-maps.problem.ts} (100%) rename src/080-configuring-typescript/{204-set-up-types-for-simple-scripts.solution.ts => 204-creating-declaration-files-and-declaration-maps.solution.ts} (100%) rename src/080-configuring-typescript/{205-set-up-types-for-test-files.problem.ts => 205-setting-up-types-for-node.problem.ts} (100%) rename src/080-configuring-typescript/{205-set-up-types-for-test-files.solution.ts => 205-setting-up-types-for-node.solution.ts} (100%) rename src/080-configuring-typescript/{206-set-up-types-for-bundled-web-app.problem.ts => 206-set-up-types-for-simple-scripts.problem.ts} (100%) rename src/080-configuring-typescript/{206-set-up-types-for-bundled-web-app.solution.ts => 206-set-up-types-for-simple-scripts.solution.ts} (100%) rename src/{085-the-utils-folder/207-intro-to-the-utils-folder.problem.ts => 080-configuring-typescript/207-set-up-types-for-test-files.problem.ts} (100%) rename src/{085-the-utils-folder/207-intro-to-the-utils-folder.solution.ts => 080-configuring-typescript/207-set-up-types-for-test-files.solution.ts} (100%) rename src/{085-the-utils-folder/208-generic-functions-without-inference.problem.ts => 080-configuring-typescript/208-set-up-types-for-bundled-web-app.problem.ts} (100%) rename src/{085-the-utils-folder/208-generic-functions-without-inference.solution.ts => 080-configuring-typescript/208-set-up-types-for-bundled-web-app.solution.ts} (100%) rename src/085-the-utils-folder/{209-type-parameter-defaults-in-generic-functions.problem.ts => 209-intro-to-the-utils-folder.problem.ts} (100%) rename src/085-the-utils-folder/{209-type-parameter-defaults-in-generic-functions.solution.ts => 209-intro-to-the-utils-folder.solution.ts} (100%) rename src/085-the-utils-folder/{210-type-parameter-constraints-with-generic-functions.problem.ts => 210-generic-functions-without-inference.problem.ts} (100%) rename src/085-the-utils-folder/{210-type-parameter-constraints-with-generic-functions.solution.ts => 210-generic-functions-without-inference.solution.ts} (100%) rename src/085-the-utils-folder/{211-generic-functions-with-inference.problem.ts => 211-type-parameter-defaults-in-generic-functions.problem.ts} (100%) rename src/085-the-utils-folder/{211-generic-functions-with-inference.solution.ts => 211-type-parameter-defaults-in-generic-functions.solution.ts} (100%) rename src/085-the-utils-folder/{212-as-any-inside-generic-functions.problem.ts => 212-type-parameter-constraints-with-generic-functions.problem.ts} (100%) rename src/085-the-utils-folder/{212-as-any-inside-generic-functions.solution.ts => 212-type-parameter-constraints-with-generic-functions.solution.ts} (100%) rename src/085-the-utils-folder/{213-multiple-type-arguments.problem.ts => 213-generic-functions-with-inference.problem.ts} (100%) rename src/085-the-utils-folder/{213-multiple-type-arguments.solution.ts => 213-generic-functions-with-inference.solution.ts} (100%) rename src/085-the-utils-folder/{214-create-group-by-function.problem.ts => 214-as-any-inside-generic-functions.problem.ts} (100%) rename src/085-the-utils-folder/{214-create-group-by-function.solution.ts => 214-as-any-inside-generic-functions.solution.ts} (100%) rename src/085-the-utils-folder/{215-type-predicates.problem.ts => 215-multiple-type-arguments.problem.ts} (100%) rename src/085-the-utils-folder/{215-type-predicates.solution.ts => 215-multiple-type-arguments.solution.ts} (100%) rename src/085-the-utils-folder/{216-assertion-functions.problem.ts => 216-create-group-by-function.problem.ts} (100%) rename src/085-the-utils-folder/{216-assertion-functions.solution.ts => 216-create-group-by-function.solution.ts} (100%) rename src/085-the-utils-folder/{217-function-overloads.problem.ts => 217-type-predicates.problem.ts} (100%) rename src/085-the-utils-folder/{217-function-overloads.solution.ts => 217-type-predicates.solution.ts} (100%) rename src/{090-the-style-guide/218-hungarian-notation.problem.ts => 085-the-utils-folder/218-assertion-functions.problem.ts} (100%) rename src/{090-the-style-guide/218-hungarian-notation.solution.ts => 085-the-utils-folder/218-assertion-functions.solution.ts} (100%) rename src/{090-the-style-guide/219-where-to-put-your-types.problem.ts => 085-the-utils-folder/219-function-overloads.problem.ts} (100%) rename src/{090-the-style-guide/219-where-to-put-your-types.solution.ts => 085-the-utils-folder/219-function-overloads.solution.ts} (100%) rename src/090-the-style-guide/{220-colocation-of-types.problem.ts => 220-hungarian-notation.problem.ts} (100%) rename src/090-the-style-guide/{220-colocation-of-types.solution.ts => 220-hungarian-notation.solution.ts} (100%) rename src/090-the-style-guide/{221-setting-up-eslint.explainer.ts => 221-where-to-put-your-types.problem.ts} (100%) rename src/090-the-style-guide/{222-explicit-any-rule-or-not.problem.ts => 221-where-to-put-your-types.solution.ts} (100%) rename src/090-the-style-guide/{222-explicit-any-rule-or-not.solution.ts => 222-colocation-of-types.problem.ts} (100%) rename src/090-the-style-guide/{223-explicit-return-types-or-not.problem.ts => 222-colocation-of-types.solution.ts} (100%) rename src/090-the-style-guide/{223-explicit-return-types-or-not.solution.ts => 223-setting-up-eslint.explainer.ts} (100%) rename src/090-the-style-guide/{224-any-vs-ts-ignore-vs-ts-expect-error.problem.ts => 224-explicit-any-rule-or-not.problem.ts} (100%) rename src/090-the-style-guide/{224-any-vs-ts-ignore-vs-ts-expect-error.solution.ts => 224-explicit-any-rule-or-not.solution.ts} (100%) rename src/090-the-style-guide/{225-dont-declare-type-and-value-with-the-same-name.problem.ts => 225-explicit-return-types-or-not.problem.ts} (100%) rename src/090-the-style-guide/{225-dont-declare-type-and-value-with-the-same-name.solution.ts => 225-explicit-return-types-or-not.solution.ts} (100%) rename src/090-the-style-guide/{226-types-vs-interfaces.problem.ts => 226-any-vs-ts-ignore-vs-ts-expect-error.problem.ts} (100%) rename src/090-the-style-guide/{226-types-vs-interfaces.solution.ts => 226-any-vs-ts-ignore-vs-ts-expect-error.solution.ts} (100%) rename src/090-the-style-guide/{227-dont-use-uppercase-function-object-string-boolean-as-types.problem.ts => 227-dont-declare-type-and-value-with-the-same-name.problem.ts} (100%) rename src/090-the-style-guide/{227-dont-use-uppercase-function-object-string-boolean-as-types.solution.ts => 227-dont-declare-type-and-value-with-the-same-name.solution.ts} (100%) rename src/090-the-style-guide/{228-dont-use-globally-available-types.problem.ts => 228-types-vs-interfaces.problem.ts} (100%) rename src/090-the-style-guide/{228-dont-use-globally-available-types.solution.ts => 228-types-vs-interfaces.solution.ts} (100%) rename src/090-the-style-guide/{229-how-strict-should-you-configure-ts.problem.ts => 229-dont-use-uppercase-function-object-string-boolean-as-types.problem.ts} (100%) rename src/090-the-style-guide/{229-how-strict-should-you-configure-ts.solution.ts => 229-dont-use-uppercase-function-object-string-boolean-as-types.solution.ts} (100%) rename src/090-the-style-guide/{230-dont-unnecessarily-widen-types.problem.ts => 230-dont-use-globally-available-types.problem.ts} (100%) rename src/090-the-style-guide/{230-dont-unnecessarily-widen-types.solution.ts => 230-dont-use-globally-available-types.solution.ts} (100%) rename src/{095-migrating-from-javascript/231-strict-file-by-file-vs-ramp-up-strictness.problem.ts => 090-the-style-guide/231-how-strict-should-you-configure-ts.problem.ts} (100%) rename src/{095-migrating-from-javascript/231-strict-file-by-file-vs-ramp-up-strictness.solution.ts => 090-the-style-guide/231-how-strict-should-you-configure-ts.solution.ts} (100%) rename src/{095-migrating-from-javascript/232-dependencies-first.problem.ts => 090-the-style-guide/232-dont-unnecessarily-widen-types.problem.ts} (100%) rename src/{095-migrating-from-javascript/232-dependencies-first.solution.ts => 090-the-style-guide/232-dont-unnecessarily-widen-types.solution.ts} (100%) rename src/095-migrating-from-javascript/{233-typing-third-party-modules.problem.ts => 233-strict-file-by-file-vs-ramp-up-strictness.problem.ts} (100%) rename src/095-migrating-from-javascript/{233-typing-third-party-modules.solution.ts => 233-strict-file-by-file-vs-ramp-up-strictness.solution.ts} (100%) rename src/095-migrating-from-javascript/{234-madge.problem.ts => 234-dependencies-first.problem.ts} (100%) rename src/095-migrating-from-javascript/{234-madge.solution.ts => 234-dependencies-first.solution.ts} (100%) rename src/095-migrating-from-javascript/{235-understanding-the-structure-of-ts-errors.problem.ts => 235-typing-third-party-modules.problem.ts} (100%) rename src/095-migrating-from-javascript/{235-understanding-the-structure-of-ts-errors.solution.ts => 235-typing-third-party-modules.solution.ts} (100%) rename src/095-migrating-from-javascript/{236-experiments-with-jsdoc.problem.ts => 236-madge.problem.ts} (100%) rename src/095-migrating-from-javascript/{236-experiments-with-jsdoc.solution.ts => 236-madge.solution.ts} (100%) rename src/095-migrating-from-javascript/{237-jsdoc-cannot-pass-types-to-functions.problem.ts => 237-understanding-the-structure-of-ts-errors.problem.ts} (100%) rename src/095-migrating-from-javascript/{237-jsdoc-cannot-pass-types-to-functions.solution.ts => 237-understanding-the-structure-of-ts-errors.solution.ts} (100%) create mode 100644 src/095-migrating-from-javascript/238-experiments-with-jsdoc.problem.ts create mode 100644 src/095-migrating-from-javascript/238-experiments-with-jsdoc.solution.ts create mode 100644 src/095-migrating-from-javascript/239-jsdoc-cannot-pass-types-to-functions.problem.ts create mode 100644 src/095-migrating-from-javascript/239-jsdoc-cannot-pass-types-to-functions.solution.ts diff --git a/plan.md b/plan.md index 0d76885..a1d0256 100644 --- a/plan.md +++ b/plan.md @@ -22,4 +22,8 @@ Import/export type incremental composite -lib: dom, lib: esnext +lib: dom, lib: es2022 + +useDefineForClassFields (https://twitter.com/heyImMapleLeaf/status/1701623837756993900) + +Use suggestions here: https://twitter.com/mattpocockuk/status/1701619240686485799 diff --git a/src/080-configuring-typescript/189-my-recommended-tsconfig-base.explainer/tsconfig.json b/src/080-configuring-typescript/189-my-recommended-tsconfig-base.explainer/tsconfig.json index 5dc24a6..89825fd 100644 --- a/src/080-configuring-typescript/189-my-recommended-tsconfig-base.explainer/tsconfig.json +++ b/src/080-configuring-typescript/189-my-recommended-tsconfig-base.explainer/tsconfig.json @@ -8,7 +8,9 @@ "forceConsistentCasingInFileNames": true, "skipLibCheck": true, "target": "es2022", + "moduleDetection": "force", "strict": true, + "noUncheckedIndexedAccess": true, "verbatimModuleSyntax": true, "allowJs": true, "resolveJsonModule": true, diff --git a/src/080-configuring-typescript/191-no-emit.problem copy/tsconfig.json b/src/080-configuring-typescript/191-no-emit.problem copy/tsconfig.json new file mode 100644 index 0000000..64723bf --- /dev/null +++ b/src/080-configuring-typescript/191-no-emit.problem copy/tsconfig.json @@ -0,0 +1,13 @@ +{ + "compilerOptions": { + "target": "es2020", + "module": "ESNext", + "moduleResolution": "Bundler", + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "strict": true, + "skipLibCheck": true, + "isolatedModules": true, + "outDir": "../191-no-emit.solution/dist", + }, +} \ No newline at end of file diff --git a/src/080-configuring-typescript/191-no-emit.problem/tsconfig.json b/src/080-configuring-typescript/191-no-emit.problem/tsconfig.json index 092be81..b239cfb 100644 --- a/src/080-configuring-typescript/191-no-emit.problem/tsconfig.json +++ b/src/080-configuring-typescript/191-no-emit.problem/tsconfig.json @@ -1,8 +1,8 @@ { "compilerOptions": { "target": "es2020", - "module": "ESNext", - "moduleResolution": "Bundler", + "module": "NodeNext", + "moduleResolution": "NodeNext", "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "strict": true, diff --git a/src/080-configuring-typescript/191-no-emit.solution copy/tsconfig.json b/src/080-configuring-typescript/191-no-emit.solution copy/tsconfig.json new file mode 100644 index 0000000..d531492 --- /dev/null +++ b/src/080-configuring-typescript/191-no-emit.solution copy/tsconfig.json @@ -0,0 +1,13 @@ +{ + "compilerOptions": { + "target": "es2020", + "module": "ESNext", + "moduleResolution": "Bundler", + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "strict": true, + "skipLibCheck": true, + "isolatedModules": true, + "outDir": "../192-module-resolution-bundler-or-nodenext.problem/dist", + }, +} \ No newline at end of file diff --git a/src/080-configuring-typescript/200-rules-that-make-up-strict-mode.problem.ts b/src/080-configuring-typescript/200-lib-dom.problem.ts similarity index 100% rename from src/080-configuring-typescript/200-rules-that-make-up-strict-mode.problem.ts rename to src/080-configuring-typescript/200-lib-dom.problem.ts diff --git a/src/080-configuring-typescript/200-rules-that-make-up-strict-mode.solution.ts b/src/080-configuring-typescript/200-lib-dom.solution.ts similarity index 100% rename from src/080-configuring-typescript/200-rules-that-make-up-strict-mode.solution.ts rename to src/080-configuring-typescript/200-lib-dom.solution.ts diff --git a/src/080-configuring-typescript/201-no-unchecked-indexed-access.problem.ts b/src/080-configuring-typescript/201-lib-dom-iterable.problem.ts similarity index 100% rename from src/080-configuring-typescript/201-no-unchecked-indexed-access.problem.ts rename to src/080-configuring-typescript/201-lib-dom-iterable.problem.ts diff --git a/src/080-configuring-typescript/201-no-unchecked-indexed-access.solution.ts b/src/080-configuring-typescript/201-lib-dom-iterable.solution.ts similarity index 100% rename from src/080-configuring-typescript/201-no-unchecked-indexed-access.solution.ts rename to src/080-configuring-typescript/201-lib-dom-iterable.solution.ts diff --git a/src/080-configuring-typescript/202-creating-declaration-files-and-declaration-maps.problem.ts b/src/080-configuring-typescript/202-rules-that-make-up-strict-mode.problem.ts similarity index 100% rename from src/080-configuring-typescript/202-creating-declaration-files-and-declaration-maps.problem.ts rename to src/080-configuring-typescript/202-rules-that-make-up-strict-mode.problem.ts diff --git a/src/080-configuring-typescript/202-creating-declaration-files-and-declaration-maps.solution.ts b/src/080-configuring-typescript/202-rules-that-make-up-strict-mode.solution.ts similarity index 100% rename from src/080-configuring-typescript/202-creating-declaration-files-and-declaration-maps.solution.ts rename to src/080-configuring-typescript/202-rules-that-make-up-strict-mode.solution.ts diff --git a/src/080-configuring-typescript/203-setting-up-types-for-node.problem.ts b/src/080-configuring-typescript/203-no-unchecked-indexed-access.problem.ts similarity index 100% rename from src/080-configuring-typescript/203-setting-up-types-for-node.problem.ts rename to src/080-configuring-typescript/203-no-unchecked-indexed-access.problem.ts diff --git a/src/080-configuring-typescript/203-setting-up-types-for-node.solution.ts b/src/080-configuring-typescript/203-no-unchecked-indexed-access.solution.ts similarity index 100% rename from src/080-configuring-typescript/203-setting-up-types-for-node.solution.ts rename to src/080-configuring-typescript/203-no-unchecked-indexed-access.solution.ts diff --git a/src/080-configuring-typescript/204-set-up-types-for-simple-scripts.problem.ts b/src/080-configuring-typescript/204-creating-declaration-files-and-declaration-maps.problem.ts similarity index 100% rename from src/080-configuring-typescript/204-set-up-types-for-simple-scripts.problem.ts rename to src/080-configuring-typescript/204-creating-declaration-files-and-declaration-maps.problem.ts diff --git a/src/080-configuring-typescript/204-set-up-types-for-simple-scripts.solution.ts b/src/080-configuring-typescript/204-creating-declaration-files-and-declaration-maps.solution.ts similarity index 100% rename from src/080-configuring-typescript/204-set-up-types-for-simple-scripts.solution.ts rename to src/080-configuring-typescript/204-creating-declaration-files-and-declaration-maps.solution.ts diff --git a/src/080-configuring-typescript/205-set-up-types-for-test-files.problem.ts b/src/080-configuring-typescript/205-setting-up-types-for-node.problem.ts similarity index 100% rename from src/080-configuring-typescript/205-set-up-types-for-test-files.problem.ts rename to src/080-configuring-typescript/205-setting-up-types-for-node.problem.ts diff --git a/src/080-configuring-typescript/205-set-up-types-for-test-files.solution.ts b/src/080-configuring-typescript/205-setting-up-types-for-node.solution.ts similarity index 100% rename from src/080-configuring-typescript/205-set-up-types-for-test-files.solution.ts rename to src/080-configuring-typescript/205-setting-up-types-for-node.solution.ts diff --git a/src/080-configuring-typescript/206-set-up-types-for-bundled-web-app.problem.ts b/src/080-configuring-typescript/206-set-up-types-for-simple-scripts.problem.ts similarity index 100% rename from src/080-configuring-typescript/206-set-up-types-for-bundled-web-app.problem.ts rename to src/080-configuring-typescript/206-set-up-types-for-simple-scripts.problem.ts diff --git a/src/080-configuring-typescript/206-set-up-types-for-bundled-web-app.solution.ts b/src/080-configuring-typescript/206-set-up-types-for-simple-scripts.solution.ts similarity index 100% rename from src/080-configuring-typescript/206-set-up-types-for-bundled-web-app.solution.ts rename to src/080-configuring-typescript/206-set-up-types-for-simple-scripts.solution.ts diff --git a/src/085-the-utils-folder/207-intro-to-the-utils-folder.problem.ts b/src/080-configuring-typescript/207-set-up-types-for-test-files.problem.ts similarity index 100% rename from src/085-the-utils-folder/207-intro-to-the-utils-folder.problem.ts rename to src/080-configuring-typescript/207-set-up-types-for-test-files.problem.ts diff --git a/src/085-the-utils-folder/207-intro-to-the-utils-folder.solution.ts b/src/080-configuring-typescript/207-set-up-types-for-test-files.solution.ts similarity index 100% rename from src/085-the-utils-folder/207-intro-to-the-utils-folder.solution.ts rename to src/080-configuring-typescript/207-set-up-types-for-test-files.solution.ts diff --git a/src/085-the-utils-folder/208-generic-functions-without-inference.problem.ts b/src/080-configuring-typescript/208-set-up-types-for-bundled-web-app.problem.ts similarity index 100% rename from src/085-the-utils-folder/208-generic-functions-without-inference.problem.ts rename to src/080-configuring-typescript/208-set-up-types-for-bundled-web-app.problem.ts diff --git a/src/085-the-utils-folder/208-generic-functions-without-inference.solution.ts b/src/080-configuring-typescript/208-set-up-types-for-bundled-web-app.solution.ts similarity index 100% rename from src/085-the-utils-folder/208-generic-functions-without-inference.solution.ts rename to src/080-configuring-typescript/208-set-up-types-for-bundled-web-app.solution.ts diff --git a/src/085-the-utils-folder/209-type-parameter-defaults-in-generic-functions.problem.ts b/src/085-the-utils-folder/209-intro-to-the-utils-folder.problem.ts similarity index 100% rename from src/085-the-utils-folder/209-type-parameter-defaults-in-generic-functions.problem.ts rename to src/085-the-utils-folder/209-intro-to-the-utils-folder.problem.ts diff --git a/src/085-the-utils-folder/209-type-parameter-defaults-in-generic-functions.solution.ts b/src/085-the-utils-folder/209-intro-to-the-utils-folder.solution.ts similarity index 100% rename from src/085-the-utils-folder/209-type-parameter-defaults-in-generic-functions.solution.ts rename to src/085-the-utils-folder/209-intro-to-the-utils-folder.solution.ts diff --git a/src/085-the-utils-folder/210-type-parameter-constraints-with-generic-functions.problem.ts b/src/085-the-utils-folder/210-generic-functions-without-inference.problem.ts similarity index 100% rename from src/085-the-utils-folder/210-type-parameter-constraints-with-generic-functions.problem.ts rename to src/085-the-utils-folder/210-generic-functions-without-inference.problem.ts diff --git a/src/085-the-utils-folder/210-type-parameter-constraints-with-generic-functions.solution.ts b/src/085-the-utils-folder/210-generic-functions-without-inference.solution.ts similarity index 100% rename from src/085-the-utils-folder/210-type-parameter-constraints-with-generic-functions.solution.ts rename to src/085-the-utils-folder/210-generic-functions-without-inference.solution.ts diff --git a/src/085-the-utils-folder/211-generic-functions-with-inference.problem.ts b/src/085-the-utils-folder/211-type-parameter-defaults-in-generic-functions.problem.ts similarity index 100% rename from src/085-the-utils-folder/211-generic-functions-with-inference.problem.ts rename to src/085-the-utils-folder/211-type-parameter-defaults-in-generic-functions.problem.ts diff --git a/src/085-the-utils-folder/211-generic-functions-with-inference.solution.ts b/src/085-the-utils-folder/211-type-parameter-defaults-in-generic-functions.solution.ts similarity index 100% rename from src/085-the-utils-folder/211-generic-functions-with-inference.solution.ts rename to src/085-the-utils-folder/211-type-parameter-defaults-in-generic-functions.solution.ts diff --git a/src/085-the-utils-folder/212-as-any-inside-generic-functions.problem.ts b/src/085-the-utils-folder/212-type-parameter-constraints-with-generic-functions.problem.ts similarity index 100% rename from src/085-the-utils-folder/212-as-any-inside-generic-functions.problem.ts rename to src/085-the-utils-folder/212-type-parameter-constraints-with-generic-functions.problem.ts diff --git a/src/085-the-utils-folder/212-as-any-inside-generic-functions.solution.ts b/src/085-the-utils-folder/212-type-parameter-constraints-with-generic-functions.solution.ts similarity index 100% rename from src/085-the-utils-folder/212-as-any-inside-generic-functions.solution.ts rename to src/085-the-utils-folder/212-type-parameter-constraints-with-generic-functions.solution.ts diff --git a/src/085-the-utils-folder/213-multiple-type-arguments.problem.ts b/src/085-the-utils-folder/213-generic-functions-with-inference.problem.ts similarity index 100% rename from src/085-the-utils-folder/213-multiple-type-arguments.problem.ts rename to src/085-the-utils-folder/213-generic-functions-with-inference.problem.ts diff --git a/src/085-the-utils-folder/213-multiple-type-arguments.solution.ts b/src/085-the-utils-folder/213-generic-functions-with-inference.solution.ts similarity index 100% rename from src/085-the-utils-folder/213-multiple-type-arguments.solution.ts rename to src/085-the-utils-folder/213-generic-functions-with-inference.solution.ts diff --git a/src/085-the-utils-folder/214-create-group-by-function.problem.ts b/src/085-the-utils-folder/214-as-any-inside-generic-functions.problem.ts similarity index 100% rename from src/085-the-utils-folder/214-create-group-by-function.problem.ts rename to src/085-the-utils-folder/214-as-any-inside-generic-functions.problem.ts diff --git a/src/085-the-utils-folder/214-create-group-by-function.solution.ts b/src/085-the-utils-folder/214-as-any-inside-generic-functions.solution.ts similarity index 100% rename from src/085-the-utils-folder/214-create-group-by-function.solution.ts rename to src/085-the-utils-folder/214-as-any-inside-generic-functions.solution.ts diff --git a/src/085-the-utils-folder/215-type-predicates.problem.ts b/src/085-the-utils-folder/215-multiple-type-arguments.problem.ts similarity index 100% rename from src/085-the-utils-folder/215-type-predicates.problem.ts rename to src/085-the-utils-folder/215-multiple-type-arguments.problem.ts diff --git a/src/085-the-utils-folder/215-type-predicates.solution.ts b/src/085-the-utils-folder/215-multiple-type-arguments.solution.ts similarity index 100% rename from src/085-the-utils-folder/215-type-predicates.solution.ts rename to src/085-the-utils-folder/215-multiple-type-arguments.solution.ts diff --git a/src/085-the-utils-folder/216-assertion-functions.problem.ts b/src/085-the-utils-folder/216-create-group-by-function.problem.ts similarity index 100% rename from src/085-the-utils-folder/216-assertion-functions.problem.ts rename to src/085-the-utils-folder/216-create-group-by-function.problem.ts diff --git a/src/085-the-utils-folder/216-assertion-functions.solution.ts b/src/085-the-utils-folder/216-create-group-by-function.solution.ts similarity index 100% rename from src/085-the-utils-folder/216-assertion-functions.solution.ts rename to src/085-the-utils-folder/216-create-group-by-function.solution.ts diff --git a/src/085-the-utils-folder/217-function-overloads.problem.ts b/src/085-the-utils-folder/217-type-predicates.problem.ts similarity index 100% rename from src/085-the-utils-folder/217-function-overloads.problem.ts rename to src/085-the-utils-folder/217-type-predicates.problem.ts diff --git a/src/085-the-utils-folder/217-function-overloads.solution.ts b/src/085-the-utils-folder/217-type-predicates.solution.ts similarity index 100% rename from src/085-the-utils-folder/217-function-overloads.solution.ts rename to src/085-the-utils-folder/217-type-predicates.solution.ts diff --git a/src/090-the-style-guide/218-hungarian-notation.problem.ts b/src/085-the-utils-folder/218-assertion-functions.problem.ts similarity index 100% rename from src/090-the-style-guide/218-hungarian-notation.problem.ts rename to src/085-the-utils-folder/218-assertion-functions.problem.ts diff --git a/src/090-the-style-guide/218-hungarian-notation.solution.ts b/src/085-the-utils-folder/218-assertion-functions.solution.ts similarity index 100% rename from src/090-the-style-guide/218-hungarian-notation.solution.ts rename to src/085-the-utils-folder/218-assertion-functions.solution.ts diff --git a/src/090-the-style-guide/219-where-to-put-your-types.problem.ts b/src/085-the-utils-folder/219-function-overloads.problem.ts similarity index 100% rename from src/090-the-style-guide/219-where-to-put-your-types.problem.ts rename to src/085-the-utils-folder/219-function-overloads.problem.ts diff --git a/src/090-the-style-guide/219-where-to-put-your-types.solution.ts b/src/085-the-utils-folder/219-function-overloads.solution.ts similarity index 100% rename from src/090-the-style-guide/219-where-to-put-your-types.solution.ts rename to src/085-the-utils-folder/219-function-overloads.solution.ts diff --git a/src/090-the-style-guide/220-colocation-of-types.problem.ts b/src/090-the-style-guide/220-hungarian-notation.problem.ts similarity index 100% rename from src/090-the-style-guide/220-colocation-of-types.problem.ts rename to src/090-the-style-guide/220-hungarian-notation.problem.ts diff --git a/src/090-the-style-guide/220-colocation-of-types.solution.ts b/src/090-the-style-guide/220-hungarian-notation.solution.ts similarity index 100% rename from src/090-the-style-guide/220-colocation-of-types.solution.ts rename to src/090-the-style-guide/220-hungarian-notation.solution.ts diff --git a/src/090-the-style-guide/221-setting-up-eslint.explainer.ts b/src/090-the-style-guide/221-where-to-put-your-types.problem.ts similarity index 100% rename from src/090-the-style-guide/221-setting-up-eslint.explainer.ts rename to src/090-the-style-guide/221-where-to-put-your-types.problem.ts diff --git a/src/090-the-style-guide/222-explicit-any-rule-or-not.problem.ts b/src/090-the-style-guide/221-where-to-put-your-types.solution.ts similarity index 100% rename from src/090-the-style-guide/222-explicit-any-rule-or-not.problem.ts rename to src/090-the-style-guide/221-where-to-put-your-types.solution.ts diff --git a/src/090-the-style-guide/222-explicit-any-rule-or-not.solution.ts b/src/090-the-style-guide/222-colocation-of-types.problem.ts similarity index 100% rename from src/090-the-style-guide/222-explicit-any-rule-or-not.solution.ts rename to src/090-the-style-guide/222-colocation-of-types.problem.ts diff --git a/src/090-the-style-guide/223-explicit-return-types-or-not.problem.ts b/src/090-the-style-guide/222-colocation-of-types.solution.ts similarity index 100% rename from src/090-the-style-guide/223-explicit-return-types-or-not.problem.ts rename to src/090-the-style-guide/222-colocation-of-types.solution.ts diff --git a/src/090-the-style-guide/223-explicit-return-types-or-not.solution.ts b/src/090-the-style-guide/223-setting-up-eslint.explainer.ts similarity index 100% rename from src/090-the-style-guide/223-explicit-return-types-or-not.solution.ts rename to src/090-the-style-guide/223-setting-up-eslint.explainer.ts diff --git a/src/090-the-style-guide/224-any-vs-ts-ignore-vs-ts-expect-error.problem.ts b/src/090-the-style-guide/224-explicit-any-rule-or-not.problem.ts similarity index 100% rename from src/090-the-style-guide/224-any-vs-ts-ignore-vs-ts-expect-error.problem.ts rename to src/090-the-style-guide/224-explicit-any-rule-or-not.problem.ts diff --git a/src/090-the-style-guide/224-any-vs-ts-ignore-vs-ts-expect-error.solution.ts b/src/090-the-style-guide/224-explicit-any-rule-or-not.solution.ts similarity index 100% rename from src/090-the-style-guide/224-any-vs-ts-ignore-vs-ts-expect-error.solution.ts rename to src/090-the-style-guide/224-explicit-any-rule-or-not.solution.ts diff --git a/src/090-the-style-guide/225-dont-declare-type-and-value-with-the-same-name.problem.ts b/src/090-the-style-guide/225-explicit-return-types-or-not.problem.ts similarity index 100% rename from src/090-the-style-guide/225-dont-declare-type-and-value-with-the-same-name.problem.ts rename to src/090-the-style-guide/225-explicit-return-types-or-not.problem.ts diff --git a/src/090-the-style-guide/225-dont-declare-type-and-value-with-the-same-name.solution.ts b/src/090-the-style-guide/225-explicit-return-types-or-not.solution.ts similarity index 100% rename from src/090-the-style-guide/225-dont-declare-type-and-value-with-the-same-name.solution.ts rename to src/090-the-style-guide/225-explicit-return-types-or-not.solution.ts diff --git a/src/090-the-style-guide/226-types-vs-interfaces.problem.ts b/src/090-the-style-guide/226-any-vs-ts-ignore-vs-ts-expect-error.problem.ts similarity index 100% rename from src/090-the-style-guide/226-types-vs-interfaces.problem.ts rename to src/090-the-style-guide/226-any-vs-ts-ignore-vs-ts-expect-error.problem.ts diff --git a/src/090-the-style-guide/226-types-vs-interfaces.solution.ts b/src/090-the-style-guide/226-any-vs-ts-ignore-vs-ts-expect-error.solution.ts similarity index 100% rename from src/090-the-style-guide/226-types-vs-interfaces.solution.ts rename to src/090-the-style-guide/226-any-vs-ts-ignore-vs-ts-expect-error.solution.ts diff --git a/src/090-the-style-guide/227-dont-use-uppercase-function-object-string-boolean-as-types.problem.ts b/src/090-the-style-guide/227-dont-declare-type-and-value-with-the-same-name.problem.ts similarity index 100% rename from src/090-the-style-guide/227-dont-use-uppercase-function-object-string-boolean-as-types.problem.ts rename to src/090-the-style-guide/227-dont-declare-type-and-value-with-the-same-name.problem.ts diff --git a/src/090-the-style-guide/227-dont-use-uppercase-function-object-string-boolean-as-types.solution.ts b/src/090-the-style-guide/227-dont-declare-type-and-value-with-the-same-name.solution.ts similarity index 100% rename from src/090-the-style-guide/227-dont-use-uppercase-function-object-string-boolean-as-types.solution.ts rename to src/090-the-style-guide/227-dont-declare-type-and-value-with-the-same-name.solution.ts diff --git a/src/090-the-style-guide/228-dont-use-globally-available-types.problem.ts b/src/090-the-style-guide/228-types-vs-interfaces.problem.ts similarity index 100% rename from src/090-the-style-guide/228-dont-use-globally-available-types.problem.ts rename to src/090-the-style-guide/228-types-vs-interfaces.problem.ts diff --git a/src/090-the-style-guide/228-dont-use-globally-available-types.solution.ts b/src/090-the-style-guide/228-types-vs-interfaces.solution.ts similarity index 100% rename from src/090-the-style-guide/228-dont-use-globally-available-types.solution.ts rename to src/090-the-style-guide/228-types-vs-interfaces.solution.ts diff --git a/src/090-the-style-guide/229-how-strict-should-you-configure-ts.problem.ts b/src/090-the-style-guide/229-dont-use-uppercase-function-object-string-boolean-as-types.problem.ts similarity index 100% rename from src/090-the-style-guide/229-how-strict-should-you-configure-ts.problem.ts rename to src/090-the-style-guide/229-dont-use-uppercase-function-object-string-boolean-as-types.problem.ts diff --git a/src/090-the-style-guide/229-how-strict-should-you-configure-ts.solution.ts b/src/090-the-style-guide/229-dont-use-uppercase-function-object-string-boolean-as-types.solution.ts similarity index 100% rename from src/090-the-style-guide/229-how-strict-should-you-configure-ts.solution.ts rename to src/090-the-style-guide/229-dont-use-uppercase-function-object-string-boolean-as-types.solution.ts diff --git a/src/090-the-style-guide/230-dont-unnecessarily-widen-types.problem.ts b/src/090-the-style-guide/230-dont-use-globally-available-types.problem.ts similarity index 100% rename from src/090-the-style-guide/230-dont-unnecessarily-widen-types.problem.ts rename to src/090-the-style-guide/230-dont-use-globally-available-types.problem.ts diff --git a/src/090-the-style-guide/230-dont-unnecessarily-widen-types.solution.ts b/src/090-the-style-guide/230-dont-use-globally-available-types.solution.ts similarity index 100% rename from src/090-the-style-guide/230-dont-unnecessarily-widen-types.solution.ts rename to src/090-the-style-guide/230-dont-use-globally-available-types.solution.ts diff --git a/src/095-migrating-from-javascript/231-strict-file-by-file-vs-ramp-up-strictness.problem.ts b/src/090-the-style-guide/231-how-strict-should-you-configure-ts.problem.ts similarity index 100% rename from src/095-migrating-from-javascript/231-strict-file-by-file-vs-ramp-up-strictness.problem.ts rename to src/090-the-style-guide/231-how-strict-should-you-configure-ts.problem.ts diff --git a/src/095-migrating-from-javascript/231-strict-file-by-file-vs-ramp-up-strictness.solution.ts b/src/090-the-style-guide/231-how-strict-should-you-configure-ts.solution.ts similarity index 100% rename from src/095-migrating-from-javascript/231-strict-file-by-file-vs-ramp-up-strictness.solution.ts rename to src/090-the-style-guide/231-how-strict-should-you-configure-ts.solution.ts diff --git a/src/095-migrating-from-javascript/232-dependencies-first.problem.ts b/src/090-the-style-guide/232-dont-unnecessarily-widen-types.problem.ts similarity index 100% rename from src/095-migrating-from-javascript/232-dependencies-first.problem.ts rename to src/090-the-style-guide/232-dont-unnecessarily-widen-types.problem.ts diff --git a/src/095-migrating-from-javascript/232-dependencies-first.solution.ts b/src/090-the-style-guide/232-dont-unnecessarily-widen-types.solution.ts similarity index 100% rename from src/095-migrating-from-javascript/232-dependencies-first.solution.ts rename to src/090-the-style-guide/232-dont-unnecessarily-widen-types.solution.ts diff --git a/src/095-migrating-from-javascript/233-typing-third-party-modules.problem.ts b/src/095-migrating-from-javascript/233-strict-file-by-file-vs-ramp-up-strictness.problem.ts similarity index 100% rename from src/095-migrating-from-javascript/233-typing-third-party-modules.problem.ts rename to src/095-migrating-from-javascript/233-strict-file-by-file-vs-ramp-up-strictness.problem.ts diff --git a/src/095-migrating-from-javascript/233-typing-third-party-modules.solution.ts b/src/095-migrating-from-javascript/233-strict-file-by-file-vs-ramp-up-strictness.solution.ts similarity index 100% rename from src/095-migrating-from-javascript/233-typing-third-party-modules.solution.ts rename to src/095-migrating-from-javascript/233-strict-file-by-file-vs-ramp-up-strictness.solution.ts diff --git a/src/095-migrating-from-javascript/234-madge.problem.ts b/src/095-migrating-from-javascript/234-dependencies-first.problem.ts similarity index 100% rename from src/095-migrating-from-javascript/234-madge.problem.ts rename to src/095-migrating-from-javascript/234-dependencies-first.problem.ts diff --git a/src/095-migrating-from-javascript/234-madge.solution.ts b/src/095-migrating-from-javascript/234-dependencies-first.solution.ts similarity index 100% rename from src/095-migrating-from-javascript/234-madge.solution.ts rename to src/095-migrating-from-javascript/234-dependencies-first.solution.ts diff --git a/src/095-migrating-from-javascript/235-understanding-the-structure-of-ts-errors.problem.ts b/src/095-migrating-from-javascript/235-typing-third-party-modules.problem.ts similarity index 100% rename from src/095-migrating-from-javascript/235-understanding-the-structure-of-ts-errors.problem.ts rename to src/095-migrating-from-javascript/235-typing-third-party-modules.problem.ts diff --git a/src/095-migrating-from-javascript/235-understanding-the-structure-of-ts-errors.solution.ts b/src/095-migrating-from-javascript/235-typing-third-party-modules.solution.ts similarity index 100% rename from src/095-migrating-from-javascript/235-understanding-the-structure-of-ts-errors.solution.ts rename to src/095-migrating-from-javascript/235-typing-third-party-modules.solution.ts diff --git a/src/095-migrating-from-javascript/236-experiments-with-jsdoc.problem.ts b/src/095-migrating-from-javascript/236-madge.problem.ts similarity index 100% rename from src/095-migrating-from-javascript/236-experiments-with-jsdoc.problem.ts rename to src/095-migrating-from-javascript/236-madge.problem.ts diff --git a/src/095-migrating-from-javascript/236-experiments-with-jsdoc.solution.ts b/src/095-migrating-from-javascript/236-madge.solution.ts similarity index 100% rename from src/095-migrating-from-javascript/236-experiments-with-jsdoc.solution.ts rename to src/095-migrating-from-javascript/236-madge.solution.ts diff --git a/src/095-migrating-from-javascript/237-jsdoc-cannot-pass-types-to-functions.problem.ts b/src/095-migrating-from-javascript/237-understanding-the-structure-of-ts-errors.problem.ts similarity index 100% rename from src/095-migrating-from-javascript/237-jsdoc-cannot-pass-types-to-functions.problem.ts rename to src/095-migrating-from-javascript/237-understanding-the-structure-of-ts-errors.problem.ts diff --git a/src/095-migrating-from-javascript/237-jsdoc-cannot-pass-types-to-functions.solution.ts b/src/095-migrating-from-javascript/237-understanding-the-structure-of-ts-errors.solution.ts similarity index 100% rename from src/095-migrating-from-javascript/237-jsdoc-cannot-pass-types-to-functions.solution.ts rename to src/095-migrating-from-javascript/237-understanding-the-structure-of-ts-errors.solution.ts diff --git a/src/095-migrating-from-javascript/238-experiments-with-jsdoc.problem.ts b/src/095-migrating-from-javascript/238-experiments-with-jsdoc.problem.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/095-migrating-from-javascript/238-experiments-with-jsdoc.solution.ts b/src/095-migrating-from-javascript/238-experiments-with-jsdoc.solution.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/095-migrating-from-javascript/239-jsdoc-cannot-pass-types-to-functions.problem.ts b/src/095-migrating-from-javascript/239-jsdoc-cannot-pass-types-to-functions.problem.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/095-migrating-from-javascript/239-jsdoc-cannot-pass-types-to-functions.solution.ts b/src/095-migrating-from-javascript/239-jsdoc-cannot-pass-types-to-functions.solution.ts new file mode 100644 index 0000000..e69de29 diff --git a/tsconfig.json b/tsconfig.json index bd866ad..27c40ee 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,6 +11,9 @@ "forceConsistentCasingInFileNames": true, "strict": true, "skipLibCheck": true, + "declaration": true, + "declarationMap": true, + "sourceMap": true }, "include": [ "src"