Open
Description
This last part is missing from the problem's tests at the bottom. (It's visible in the solutions video and in the problem's description on the side.
it("Should not be available on globalThis", () => {
expect(
// @ts-expect-error
globalThis.makeGreeting,
).toBe(undefined);
});
Edit:
After adding this part and trying it out, I see it's not totally appropriate - perhaps typescript has changed its behavior in the past few updates.
Metadata
Metadata
Assignees
Labels
No labels