Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. tjc@example:~/example$ ls
  2. index.ts journal.ts node_modules package.json package-lock.json
  3. tjc@example:~/example$ cat journal.ts
  4. export interface ISubgroupClassSubject {
  5. id: number;
  6. classId: number;
  7. subjectId: number;
  8. subgroupNumber: number;
  9. }
  10. tjc@example:~/example$ cat index.ts
  11. import * as model from "./journal";
  12.  
  13. let subgroups: model.ISubgroupClassSubject[] = [];
  14. console.log(subgroups.length);
  15. tjc@example:~/example$ npx tsc index.ts
  16. tjc@example:~/example$ node index.js
  17. 0
  18. tjc@example:~/example$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement