mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
PR-URL: https://github.com/nodejs/node/pull/55698 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com>
4 lines
160 B
TypeScript
4 lines
160 B
TypeScript
const { UserAccount, UserType } = require('./user.ts');
|
|
const account: typeof UserAccount = new UserAccount('john', 100, UserType.Admin);
|
|
console.log(account);
|