diff --git a/src/030-classes/112-public-and-private-properties.solution.2.ts b/src/030-classes/112-public-and-private-properties.solution.2.ts index 1615f64..e763c02 100644 --- a/src/030-classes/112-public-and-private-properties.solution.2.ts +++ b/src/030-classes/112-public-and-private-properties.solution.2.ts @@ -45,7 +45,7 @@ it("Should not be able to access x and y from the outside", () => { const canvasNode = new CanvasNode(); // @ts-expect-error - canvasNode.x; + canvasNode.#x; // @ts-expect-error - canvasNode.y; + canvasNode.#y; });