Open Haroenv opened 4 months ago
Not sure what's going on, but it seems like typescript is being interpreted as JavaScript in this sandbox: https://codesandbox.io/p/sandbox/github/algolia/instantsearch/tree/master/examples/js/e-commerce?file=%2Fsrc%2Fsearch.ts
Receiving "can't find variable xxxtype", which isn't a variable but a type
Nothing loads
https://codesandbox.io/p/sandbox/github/algolia/instantsearch/tree/master/examples/js/e-commerce?file=%2Fsrc%2Fsearch.ts should show it right away
seems to be related to https://github.com/algolia/instantsearch/pull/6260, we could avoid it by adding typescript as a dependency
🐛 bug report
Not sure what's going on, but it seems like typescript is being interpreted as JavaScript in this sandbox: https://codesandbox.io/p/sandbox/github/algolia/instantsearch/tree/master/examples/js/e-commerce?file=%2Fsrc%2Fsearch.ts
Preflight Checklist
Description of the problem
Receiving "can't find variable xxxtype", which isn't a variable but a type
How has this issue affected you? What are you trying to accomplish?
Nothing loads
To Reproduce
https://codesandbox.io/p/sandbox/github/algolia/instantsearch/tree/master/examples/js/e-commerce?file=%2Fsrc%2Fsearch.ts should show it right away
Link to sandbox: link