You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a file typings/AplRenderer/index.d.ts with typings for a global script.
I also have a file src/frontend/index.ts with /// <reference types="AplRenderer" />.
I specify ./typings as a typeRoots in my tsconfig.
🙁 Actual behavior
On macOS, npx tsc typechecks correctly. On Ubuntu 20.04.4 LTS, npx tsc complains error TS2688: Cannot find type definition file for 'aplrenderer'.. I use npm ci to install both from scratch.
🙂 Expected behavior
I expect them to be the same on both OSes.
The text was updated successfully, but these errors were encountered:
Bug Report
🔎 Search Terms
error TS2688
🕗 Version & Regression Information
I am using version 4.6.3. I didn't check other versions to see when this was introduced. Nightly version 4.7.0-dev.20220406 also has this issue.
⏯ Playground Link
Repository: https://github.com/samuelstevens/apl-preview.
💻 Code
I have a file typings/AplRenderer/index.d.ts with typings for a global script.
I also have a file src/frontend/index.ts with
/// <reference types="AplRenderer" />
.I specify
./typings
as a typeRoots in my tsconfig.🙁 Actual behavior
On macOS,
npx tsc
typechecks correctly. On Ubuntu 20.04.4 LTS,npx tsc
complainserror TS2688: Cannot find type definition file for 'aplrenderer'.
. I usenpm ci
to install both from scratch.🙂 Expected behavior
I expect them to be the same on both OSes.
The text was updated successfully, but these errors were encountered: