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 47,871 public repositories matching this topic...
Windows 10, Deno v1.1.2
Carriage returns are parsed when used inside of a console.log
. This manifests itself when parsing lines from a text file in Windows and forgetting to split by \r\n
.
When given a list of names
George
Greg
Alvin
Norman
Alice
Sarah
and then some code to retrieve them
const names = Deno.readTextFileSync("./file.txt").split('\n');
console.log(
📚 Docs or angular.io bug report
✍️ Description
Hi All,
The documentation for creating feature mo
enum TokenKind {
LeftBrace,
}
function scan(text: string, pos: number) {
let c = text[pos];
switch (c) {
case '{': return TokenKind.LeftBrace;
case '}': return TokenKind.RightBrace;
}
}
We should have a quick fix for the error message
Property 'RightBrace' does not exist on type 'typeof TokenKind'.
to add RightBrace
as a missing enum memb
When creating a TextField
with multiline="true"
, variant="filled"
and hiddenLabel="true"
, there is still a top padding being applied to the TextField
where the label would go.
Describe the bug
Creating angular project with no initial app throws sb init error
• Detecting project type. ✓
• Adding Storybook support to your "Angular" app
TypeError: Cannot read property 'architect' of undefined
To Reproduce
Steps to reproduce the behavior:
- ng new ng-ui --create-application=false
- cd ng-ui
- ng g lib button -p ui
- npx -p @storybook/cli sb
-
Updated
Aug 18, 2020 - TypeScript
-
Updated
Aug 19, 2020 - TypeScript
-
Updated
Aug 19, 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
Taro能使用wxs吗?
问题描述
最近使用movable-view
做了一个拖拽排序的功能,但是由于需要touchmove
事件频繁setState
来更新movable-view
的坐标,导致Android
的上的性能体验很差,IOS
不会。
看了微信的文档,这种情况可以使用WXS
来解决,请问Taro
中能否使用WXS
?如何使用呢?
参考文档: https://developers.weixin.qq.com/miniprogram/dev/framework/view/interactive-animation.html
https://developers.weixin.qq.com/miniprogram/dev/framework/performance/tips.html
-
Updated
Aug 18, 2020 - JavaScript
-
Updated
Aug 6, 2020 - JavaScript
-
Updated
Aug 18, 2020 - TypeScript
-
Updated
Aug 19, 2020 - TypeScript
-
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/[email protected] @blueprintjs/[email protected]
- 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
Two things that need to do this:
- Migrate all components to hooks
- ESLint plugin:
yarn add eslint-plugin-react-hooks --dev
. ESlint extend the defaults ("plugin:react-hooks/recommended"
). Update the config in erb's eslint config.
-
Updated
Aug 19, 2020 - TypeScript
-
Updated
Aug 18, 2020 - TypeScript
-
Updated
Aug 19, 2020 - C++
-
Updated
Aug 18, 2020 - TypeScript
-
Updated
Apr 30, 2020 - Go
-
Updated
Aug 17, 2020 - TypeScript
Reference from TensorFlow: https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/matrix-band-part
This op is used by the Music Transformer model.
-
Updated
Aug 19, 2020 - TypeScript
Created by Microsoft
Released October 1, 2012
Latest release about 1 month ago
- Repository
- Microsoft/TypeScript
- Website
- www.typescriptlang.org
- Wikipedia
- Wikipedia
(I apologize in advance i