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