From 00d92baad36ae8aaf6cb4e5657389a886e42a518 Mon Sep 17 00:00:00 2001 From: Patryk Maron <15141285+patrykmaron@users.noreply.github.com> Date: Wed, 24 Aug 2022 23:25:29 +0100 Subject: [PATCH] Clean comments from excercise 06 found in 07. These are not needed in these files. --- .vscode/settings.json | 6 +++--- src/07-arrays.problem.ts | 6 ------ src/07-arrays.solution.1.ts | 6 ------ src/07-arrays.solution.2.ts | 6 ------ 4 files changed, 3 insertions(+), 21 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 410fc03e..676b52d6 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,5 @@ { - "window.zoomLevel": 3, + "window.zoomLevel": 0, "editor.formatOnSave": true, "editor.tabSize": 2, "explorer.autoReveal": false, @@ -14,5 +14,5 @@ "editor.folding": false, "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.inlineSuggest.enabled": true, - "xstate.targetEditorBaseUrl": "http://localhost:3000", -} \ No newline at end of file + "xstate.targetEditorBaseUrl": "http://localhost:3000" +} diff --git a/src/07-arrays.problem.ts b/src/07-arrays.problem.ts index dd9b4bb3..a2a9e65a 100644 --- a/src/07-arrays.problem.ts +++ b/src/07-arrays.problem.ts @@ -2,12 +2,6 @@ interface User { id: number; firstName: string; lastName: string; - /** - * How do we ensure that role is only one of: - * - 'admin' - * - 'user' - * - 'super-admin' - */ role: "admin" | "user" | "super-admin"; posts: Post; } diff --git a/src/07-arrays.solution.1.ts b/src/07-arrays.solution.1.ts index 21a6eaeb..e870aeec 100644 --- a/src/07-arrays.solution.1.ts +++ b/src/07-arrays.solution.1.ts @@ -2,12 +2,6 @@ interface User { id: number; firstName: string; lastName: string; - /** - * How do we ensure that role is only one of: - * - 'admin' - * - 'user' - * - 'super-admin' - */ role: "admin" | "user" | "super-admin"; posts: Post[]; } diff --git a/src/07-arrays.solution.2.ts b/src/07-arrays.solution.2.ts index 1f156a64..b1400944 100644 --- a/src/07-arrays.solution.2.ts +++ b/src/07-arrays.solution.2.ts @@ -2,12 +2,6 @@ interface User { id: number; firstName: string; lastName: string; - /** - * How do we ensure that role is only one of: - * - 'admin' - * - 'user' - * - 'super-admin' - */ role: "admin" | "user" | "super-admin"; posts: Array; } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy