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,918 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
JesusTheHun
JesusTheHun commented Feb 18, 2021

Currently is you set a component property to an object carrying a BigInt the entire storybook stops functioning. The console logs show an error trying to serialize this object.

Uncaught TypeError: Do not know how to serialize a BigInt
    at JSON.stringify (<anonymous>)
    (...)

Code sample to help you get the context :

const invitations = {
  isLoading: false,
  e
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
kakaru1331
kakaru1331 commented Dec 11, 2020

What cheatsheet is this about? (if applicable)

Basic cheatsheet

What's your issue or idea?

content duplication

There are two identical subheading, Types or Interfaces?.
And following contents are almost the same.
I think It is better to be deduplicated.
I'd appreciate it if you could consider it for the next reader. :)

**(If applicable) Reproduction of issue

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

  • 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

tools

Created by Microsoft

Released October 1, 2012

Latest release 10 days ago

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

Related Topics

es6 javascript language nodejs