The Wayback Machine - https://web.archive.org/web/20210219230719/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 60,850 public repositories matching this topic...

sandersn
sandersn commented Feb 11, 2021

Found when debugging a different mysterious commonjs bug with @elibarzilay:

  1. Install @types/node for this repro. I couldn't get it to repro on a local module, but I think I'm missing something fairly simple.
// @filename: ns.ts
namespace myAssert {
    export type cool = 'cool'
}
var myAssert = require('assert')

// @filename: test.js
exports.equal = myAssert.equal
exports.e
storybook
vuetify
ilzhi
ilzhi commented Aug 12, 2020

相关平台

微信小程序

复现仓库

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
react
NativeScript
vslugin
vslugin commented Feb 10, 2021

First

When run command pip install six return error because pip is not installed. In result resolved commands brew install python; pip3 install six

Second

Before brew cask install <SOMETHING> return error Error: Unknown command: cask. Resolved by use commands without cask: brew install `

Both cases is not obvious for users which not used homebrew before (MacOS Big

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

tools

Created by Microsoft

Released October 1, 2012

Latest release 9 days ago

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

Related Topics

es6 javascript language nodejs