TypeScript

TypeScript is an open source programming language developed by Microsoft and first released in 2012. It is designed to add type safety to JavaScript while conforming as closely as possible to the syntax and semantics of the ECMAScript standard.
It is a syntactical superset of the JavaScript programming language; all valid JavaScript source code is also valid TypeScript source code, but not vice-versa. TypeScript compiles (or transpiles) to JavaScript, meaning that it can be utilized to target any JavaScript environment. It can be used to develop JavaScript for both client-side and server-side applications.
Here are 55,109 public repositories matching this topic...
-
Updated
Nov 29, 2020 - TypeScript
Search Terms
Suggestion
When inputing code:
type SomeType<T> = T extends [infer X,infer Y]?any:any;
When you typing at X
, the current completion list is a list of existing types, for example XMLDocument
.
In vscode, when you typed X
it is very easy mistakenly accept the wrong suggestion.(The setting "editor.acceptSuggestionOnCommitCharacter" default is true).
I t
- I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
https://ant.design/components/form/#Rule
Steps to reproduce
- Missing docs for
defaultField
prop for array type rule as defined here https://github.com/react-component/field-f
The TextField top padding is wrong when variant is 'filled' and no label is specified.
- The issue is
Is your feature request related to a problem? Please describe
In my component's props TS interface, I can use JSDoc comments to set the description, and can even use the @default
tag to describe the default value
However, nothing happens when I use the @deprecated
tag.
Describe the solution you'd like
Some ideas:
- It would be nice i
-
Updated
Nov 28, 2020 - TypeScript
-
Updated
Nov 28, 2020 - TypeScript
-
Updated
Nov 29, 2020 - TypeScript
Environment
Vuetify Version: 2.3.5
Vue Version: 2.6.11
Browsers: Chrome 84.0.4147.89
OS: Mac OS 10.15.5
Steps to reproduce
Setup theme as Dark mode.
Try the example.
Only Hover list, and Transitions examples can see the affect.
Other examples looks bad in the dark mode.
Expected Behavior
Should show affects in the example.
Actual Behavior
Looks
相关平台
微信小程序
复现仓库
https://github.com/li-z/taro-bug
小程序基础库: 2.12.0
使用框架: React
复现步骤
运行项目后点击跳转到详情页,然后返回首页。然后触发子组件的 onClick 事件时,回调函数却还是详情页的函数。去掉id属性后正常。
期望结果
有无id属性都应正常
实际结果
有id属性异常
环境信息
Taro CLI 3.0.7 environment info:
System:
OS: macOS
Taro能使用wxs吗?
ng update on windows fails when cli version wants to preinstall | loader.js | Cannot find module
-
Updated
Nov 25, 2020 - TypeScript
-
Updated
Oct 10, 2020 - JavaScript
-
Updated
Nov 29, 2020 - TypeScript
-
Updated
Nov 25, 2020 - TypeScript
What cheatsheet is this about? (if applicable)
Advanced cheatsheet
What's your issue or idea?
4.1 is out: https://devblogs.microsoft.com/typescript/announcing-typescript-4-1/
would be nice to have help updating the TS version notes with a quick summary!
-
Updated
May 20, 2019 - TypeScript
Environment
Provide version numbers for the following components (information can be retrieved by running tns info
in your project folder or by inspecting the package.json
of the project):
- CLI: 6.2.2
- Cross-platform modules: 6.0.1
- Android Runtime: 6.2.0
- iOS Runtime: 6.2.0
- Plugin(s): unrelated
Describe the bug
openFile method of utils module does not preview the
Environment
- Package version(s): @blueprintjs/core@3.17.2 @blueprintjs/select@3.11.2
- Browser and OS versions: MacOS Catalina (10.15.1) / Chrome 78.0.3904.108
Question
Is there any solid documentation for the renderFilteredItems()
utility function exported from the select
package? It is briefly mentioned under the itemListRenderer
props section of the select
c
-
Updated
Nov 26, 2020 - TypeScript
-
Updated
Nov 29, 2020 - TypeScript
-
Updated
Nov 28, 2020 - TypeScript
-
Updated
Nov 28, 2020 - Go
-
Updated
Nov 27, 2020 - C++
-
Updated
Nov 28, 2020 - TypeScript
-
Updated
Nov 14, 2020 - Go
Created by Microsoft
Released October 1, 2012
Latest release 10 days ago
- Repository
- Microsoft/TypeScript
- Website
- www.typescriptlang.org
- Wikipedia
- Wikipedia
Version: 1.50.1 (system setup)
Commit: d2e414d9e4239a252d1ab117bd7067f125afd80a
Date: 2020-10-13T15:06:15.712Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.18363
Steps to Reproduce:
Create a sample Electron project.
In the