object: 除了primitive(boolean null number string undefined bigint symbol)的类型

Object:

Object和any很像 ,Object有更严格的约束

Object表示装箱后的原始类型对象,即有方法的原始类型(describes funtionality that is common to all JS objects)

和any的区别是:

let a:any

let b:Object

a.nomethod() // okay

b.nomethods() // error

{}:

{}和Object一样,根据查询的资料,{}继承了Object但是没有添加任何东西

unkown:

unknown type is only assignable to the any type and the unknown type itself

https://mariusschulz.com/blog/the-unknown-type-in-typescript

最新文章

  1. Oracle_SQL函数-分组函数
  2. Ionic2学习笔记(10):扫描二维码
  3. 弹窗样式 idialog,purebox,artdialog4.1.2,jquery.alert.v1.2
  4. jQuery.imgLazyLoad图片懒加载组件
  5. 在C++中调用DLL中的函数 (2)
  6. openerp学习笔记 context 的应用
  7. 548 - Tree (UVa OJ)
  8. 【原】Oracle查询指定表里的触发器
  9. 手势识别官方教程(6)识别拖拽手势用GestureDetector.SimpleOnGestureListener和onTouchEvent
  10. SPOJ 1812 Longest Common Substring II(后缀自动机)
  11. hdu1114(完全背包)
  12. Tomcat目录下文件详解
  13. Linux指令--traceroute,netstat,ss
  14. ORA-03206,当表空间不够时,如何以添加数据文件的方式扩展表空间
  15. ubuntu + 远程桌面连接命令 + rdesktop + 连接windows或者ubuntu远程桌面
  16. 轻量Pythonweb - flask+jinja2
  17. 外边距塌陷 margin collapsing
  18. UVa 10163 Storage Keepers (二分 + DP)
  19. spark-client 一直 accepted,无法提交任务,报错Failed to connect to driver at
  20. Javascript库,前端框架(UI框架),模板引擎

热门文章

  1. 日语能力测试N1、N2级听力必备核心词汇—头发篇
  2. ios UICollectionView 加载数据后 滑动卡顿问题
  3. nodejs express 部署
  4. DTM/DEM/DSM/DOM/DLG
  5. mysql时间函数操作
  6. python爬虫及结巴分词《攀登者》影评分析
  7. Vue结合webpack实现路由懒加载和分类打包
  8. C++ fstream 用法
  9. LeeCode - 括号生成
  10. 两个i标签之间有缝隙