mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-25 06:24:27 +08:00
12 lines
502 B
TypeScript
12 lines
502 B
TypeScript
// The pointed SC1010 fences: every bare import that is not a supported
|
|
// builtin and not an npm package names ITS story — the ambient-only type
|
|
// surface (exact and pattern declare-module names), the types-only project
|
|
// resolution (an imports-field alias landing on a .d.ts), and the plain
|
|
// not-installed package (a "#" alias nothing maps).
|
|
///<reference path="decls.d.ts" />
|
|
import { x } from "ambientonly";
|
|
import { y } from "patternXmod";
|
|
import { t } from "#types";
|
|
|
|
console.log(x, y, t);
|