Skip to content

Commit 7c0452d

Browse files
committed
fix: add ts-ignore to first test import for playground compatibility
When the workshop is initially set up, the playground is set to the first problem which may not have correct types yet, causing type errors in the test file import.
1 parent 54e18af commit 7c0452d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

exercises/01.classes/01.solution.class-basics/index.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import assert from 'node:assert/strict'
22
import { test } from 'node:test'
3+
// @ts-ignore - playground may not have correct types initially
34
import * as solution from './index.ts'
45

56
await test('Product class should be exported', () => {

0 commit comments

Comments
 (0)