Skip to content
#

TypeScript

typescript logo

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 52,870 public repositories matching this topic...

connor4312
connor4312 commented Sep 29, 2020

While testing microsoft/vscode#105881 I noticed a case:

  1. Change a file (but do not stage it)
  2. Run Git: Commit Empty
  3. Say that you're sure you want to create an empty commit
  4. You're presented with this screen. There's no way to get past it and create an empty commit without stashing/discarding local changes 🐛

![](https://memes.peet.io/img/20-09-8768b030

deno
seishun
seishun commented Oct 22, 2020

Imagine someone is writing a WebSocket client. MDN has a couple examples for handling WebSocket errors, e.g. in https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/onerror and https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/error_event. Both just call console.log or console.error with the argument.

Consider this example:

const socket = new WebSocket('ws://localho
material-ui
storybook
vuetify
Rychou
Rychou commented May 6, 2019

问题描述
最近使用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

erkanarslan
erkanarslan commented Mar 5, 2020

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

react
pomle
pomle commented Oct 20, 2020

In https://github.com/typescript-cheatsheets/react#useful-react-prop-type-examples it says

export declare interface AppProps {
  children: React.ReactNode; // best, accepts everything
}

ReactNode produces a false positive type check for {}.

React version: 16.14

Steps To Reproduce

  1. Create a new CRA project with TypeScript using for example `yarn create react-app r
ViggoV
ViggoV commented Nov 21, 2019

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

Created by Microsoft

Released October 1, 2012

Latest release about 1 month ago

Repository
Microsoft/TypeScript
Website
www.typescriptlang.org
Wikipedia
Wikipedia

Related Topics

es6 javascript language nodejs
You can’t perform that action at this time.