SHARE
TWEET

Untitled

a guest Jun 25th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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$
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top