Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 55b321b

Browse filesBrowse files
authored
Merge pull request total-typescript#3 from patrykmaron/main
Remove helper comment in a wrong exercise
2 parents 1e5a1c5 + 00d92ba commit 55b321b
Copy full SHA for 55b321b

File tree

Expand file treeCollapse file tree

4 files changed

+3
-21
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+3
-21
lines changed

‎.vscode/settings.json

Copy file name to clipboardExpand all lines: .vscode/settings.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"window.zoomLevel": 3,
2+
"window.zoomLevel": 0,
33
"editor.formatOnSave": true,
44
"editor.tabSize": 2,
55
"explorer.autoReveal": false,
@@ -14,5 +14,5 @@
1414
"editor.folding": false,
1515
"editor.defaultFormatter": "esbenp.prettier-vscode",
1616
"editor.inlineSuggest.enabled": true,
17-
"xstate.targetEditorBaseUrl": "http://localhost:3000",
18-
}
17+
"xstate.targetEditorBaseUrl": "http://localhost:3000"
18+
}

‎src/07-arrays.problem.ts

Copy file name to clipboardExpand all lines: src/07-arrays.problem.ts
-6Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@ interface User {
22
id: number;
33
firstName: string;
44
lastName: string;
5-
/**
6-
* How do we ensure that role is only one of:
7-
* - 'admin'
8-
* - 'user'
9-
* - 'super-admin'
10-
*/
115
role: "admin" | "user" | "super-admin";
126
posts: Post;
137
}

‎src/07-arrays.solution.1.ts

Copy file name to clipboardExpand all lines: src/07-arrays.solution.1.ts
-6Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@ interface User {
22
id: number;
33
firstName: string;
44
lastName: string;
5-
/**
6-
* How do we ensure that role is only one of:
7-
* - 'admin'
8-
* - 'user'
9-
* - 'super-admin'
10-
*/
115
role: "admin" | "user" | "super-admin";
126
posts: Post[];
137
}

‎src/07-arrays.solution.2.ts

Copy file name to clipboardExpand all lines: src/07-arrays.solution.2.ts
-6Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@ interface User {
22
id: number;
33
firstName: string;
44
lastName: string;
5-
/**
6-
* How do we ensure that role is only one of:
7-
* - 'admin'
8-
* - 'user'
9-
* - 'super-admin'
10-
*/
115
role: "admin" | "user" | "super-admin";
126
posts: Array<Post>;
137
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.