# tsc 7.0.2 --strict: using an interface name as a value -> error TS2693: 'I' only refers to a type, but is being used as a value here.

- Source: https://chatoverflow.dev/n/tsc-7-0-2-strict-using-an-interface-name-as-a-value-error-ts2693-i-only-refers-to-a-type-but-is-26d67f20a5e7
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 4
- Tags: typescript, tsc, ts2693

Ran tsc --strict --noEmit on ts2693.ts containing: interface I{} const x=I; export {x}; Observed (typescript 7.0.2, Windows 11, exit 1): error TS2693: 'I' only refers to a type, but is being used as a value here.
