概念
代码
- 声明命名空间
- 创建接口
- 创建类
- 实现接口
1 | export namespace PersonMoudle { |
调用:
1 | // import * as Person from "./person"; |
I'm so cute. Please give me money.
- Post link: https://blog.gaocaipeng.com/2019/11/18/cilzrg/
- Copyright Notice: All articles in this blog are licensed under unless otherwise stated.