1# No dependencies on TypeScript code are currently allowed 2 3Rule ``arkts-no-ts-deps`` 4 5**Severity: error** 6 7Currently, the codebase implemented in the standard TypeScript language must not 8depend on ArkTS through importing the ArkTS codebase. Imports in reverse 9direction are supported. 10 11 12## TypeScript 13 14 15``` 16 17 // app.ets 18 export class C { 19 // ... 20 } 21 22 // lib.ts 23 import { C } from "app" 24 25 26``` 27 28## ArkTS 29 30 31``` 32 33 // lib1.ets 34 export class C { 35 // ... 36 } 37 38 // lib2.ets 39 import { C } from "lib1" 40 41``` 42 43 44