kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/typescript/testdata/root_dirs.ts (about) 1 // This import is actually importing from a path within the 2 // fake-genfiles/ subtree, but the tsconfig.json specifies that 3 // fake-genfiles/ should be treated as a root directory for path 4 // lookups. This is used to model the parallel trees of 5 // source vs bazel-genfiles etc. 6 7 // Note that the path of the import should be the module name, 8 // which is "testdata/alt_module", and *not* the on-disk path 9 // "testdata/fake-genfiles/testdata/alt_module". 10 // See the discussion of module names in README.md. 11 12 //- @exported ref/imports _Alt=vname("exported", _, _, "testdata/alt_module", _) 13 //- @"'./alt_module'" ref/imports _ModRef=vname("module", _, _, "testdata/alt_module", _) 14 import {exported} from './alt_module';