TypeScript - 共9篇

{{self.data?.name}} - 共{{self.data?.expand?.count || 0}}篇

大数据男孩 {{(state.type == 'sort' || empty(state.type)) ? '分类' : '标签'}} TypeScript {{self?.data?.name}}

分类 {{item.name}} [{{item.expand.count || 0}}]

标签 {{item.name}} [{{item.expand.count || 0}}]

排序 最新 最早 热门

【TypeScript】内置对象

##内置对象 JavaScript中有很多`内置对象`,它们可以直接在TypeScript中当做定义好了的类型。 内置对象是指根据标准在`全局作用域`(Global)上`存在的对象`。这里....

Javascript TypeScript

明妃 {{nature("2022-03-28 16:55:01")}} {{format("0")}} {{format("285")}}

【TypeScript】声明文件

##声明文件 在使用`第三方库`时,`第三方库`有很多的`全局变量`,在使用TypeScript时,TypeScript`不知道`这些`全局变量`,就会`报错`,`智能提示`也不好 比如在平常....

Javascript TypeScript

明妃 {{nature("2022-03-24 21:57:59")}} {{format("0")}} {{format("287")}}

【TypeScript】泛型

##说明 泛型的使用:当定义类型时(`函数、变量、接口、类`),只有在使用的时候,才只是具体是什么类型时,就可以使用`泛型定义` ###引入 实现生成传入`指定元素`,`指定长度`的数组 ....

Javascript TypeScript

明妃 {{nature("2022-03-14 16:53:56")}} {{format("0")}} {{format("262")}}

【TypeScript】函数

##函数 >函数的`参数`和`返回值`是可以定义的类型的 ```js //命名函数 functionfun(x:number,y:number):number{ returnx+y; ....

Javascript TypeScript

明妃 {{nature("2022-03-13 19:45:53")}} {{format("0")}} {{format("283")}}

【TypeScript】类

##说明 对于`传统`的`JavaScript程序`我们会使用`函数`和`基于原型的继承`来创建`可重用`的组件,但对于熟悉使用`面向对象方式`的程序员使用`这些语法`就`有些棘手`,因为他们用....

Javascript TypeScript

明妃 {{nature("2022-03-12 21:40:16")}} {{format("0")}} {{format("305")}}

{{item.title}}

{{item.description}}

{{item.name}}

{{item.expand.author.nickname}} {{nature(item.create_time)}} {{format(item.expand.comments.count)}} {{format(item.views)}}

加载中 ...
加载更多 没有更多内容了
自定义UI
配色方案

侧边栏