Skip to content

Commit dc18574

Browse files
committed
restructure
1 parent dd64ed9 commit dc18574

45 files changed

Lines changed: 464 additions & 197 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

exercises/03.inheritance/01.problem.extends/README.mdx renamed to exercises/03.inheritance-and-polymorphism/01.problem.extends/README.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ it with specific shapes like `Circle` and `Rectangle`.
1111
4. Create a `Rectangle` class that extends `Shape`
1212
5. Add `width` and `height` fields to `Rectangle`
1313

14-
1514
📜 [TypeScript Handbook - Inheritance](https://www.typescriptlang.org/docs/handbook/2/classes.html#inheritance)

exercises/03.inheritance/01.problem.extends/index.ts renamed to exercises/03.inheritance-and-polymorphism/01.problem.extends/index.ts

File renamed without changes.

exercises/03.inheritance/02.problem.method-overriding/package.json renamed to exercises/03.inheritance-and-polymorphism/01.problem.extends/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "exercises_03.inheritance_02.problem.method-overriding",
2+
"name": "exercises_03.inheritance-and-polymorphism_01.problem.extends",
33
"type": "module",
44
"scripts": {
55
"start": "npx @kentcdodds/log-module@latest ./index.ts",

exercises/03.inheritance/01.solution.extends/README.mdx renamed to exercises/03.inheritance-and-polymorphism/01.solution.extends/README.mdx

File renamed without changes.

exercises/03.inheritance/01.solution.extends/index.test.ts renamed to exercises/03.inheritance-and-polymorphism/01.solution.extends/index.test.ts

File renamed without changes.

exercises/03.inheritance/01.solution.extends/index.ts renamed to exercises/03.inheritance-and-polymorphism/01.solution.extends/index.ts

File renamed without changes.

exercises/03.inheritance/01.problem.extends/package.json renamed to exercises/03.inheritance-and-polymorphism/01.solution.extends/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "exercises_03.inheritance_01.problem.extends",
2+
"name": "exercises_03.inheritance-and-polymorphism_01.solution.extends",
33
"type": "module",
44
"scripts": {
55
"start": "npx @kentcdodds/log-module@latest ./index.ts",

exercises/03.inheritance/02.problem.method-overriding/README.mdx renamed to exercises/03.inheritance-and-polymorphism/02.problem.method-overriding/README.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ method to provide its own implementation.
1010
3. Override `getArea()` in `Rectangle` to return width × height
1111
4. Optionally use `super` to call the parent method
1212

13-
1413
📜 [TypeScript Handbook - Overriding Methods](https://www.typescriptlang.org/docs/handbook/2/classes.html#overriding-methods)

exercises/03.inheritance/02.problem.method-overriding/index.ts renamed to exercises/03.inheritance-and-polymorphism/02.problem.method-overriding/index.ts

File renamed without changes.

exercises/03.inheritance/02.solution.method-overriding/package.json renamed to exercises/03.inheritance-and-polymorphism/02.problem.method-overriding/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "exercises_03.inheritance_02.solution.method-overriding",
2+
"name": "exercises_03.inheritance-and-polymorphism_02.problem.method-overriding",
33
"type": "module",
44
"scripts": {
55
"start": "npx @kentcdodds/log-module@latest ./index.ts",

0 commit comments

Comments
 (0)