The Wayback Machine - https://web.archive.org/web/20200830185901/https://github.com/topics/typescript
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 48,666 public repositories matching this topic...

DanielRosenwasser
DanielRosenwasser commented Aug 14, 2020
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

material-ui
Floriferous
Floriferous commented Aug 18, 2020

I'm not sure what the policy on css transitions is in this repo, but here's a suggestion.

I noticed that color transitions on the StepIcon component are instantaneous, even though the entire component is quite animated and fluid. The StepIcon goes through several colors (default -> active -> completed), and I believe a simple transition: color 300ms ease; already adds quite a bit more style

storybook
AlokTakshak
AlokTakshak commented Aug 16, 2020

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:

  1. ng new ng-ui --create-application=false
  2. cd ng-ui
  3. ng g lib button -p ui
  4. npx -p @storybook/cli sb
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

ViggoV
ViggoV commented Nov 21, 2019

Environment

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 14 days 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.