зеркало из https://github.com/microsoft/dtslint.git
317 B
317 B
no-relative-import-in-test
A test file should not contain relative imports; it should use a global import of the library using module resolution.
Bad:
import foo from "./index.d.ts";
Good:
import foo from "foo";