Skip to content
typescript logo

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 30,753 public repositories matching this topic...

ant-design
prettier
vonweb
vonweb commented Jul 25, 2019

问题描述
创建FunctionComponent类型的页面,设置页面的config时不方便,希望在官方的FunctionComponent中加入config的类型定义

复现步骤

现在通过新建的taroPatch.d.ts实现的

import Taro from '@tarojs/taro'

declare module '@tarojs/taro' {
  interface FunctionComponent {
    config?: Taro.Config
  }
}

期望行为
直接在node_modules\@tarojs\taro\types\index.d.ts中加入config类型定义

报错信息

![image](https://user-images.gith

Annihil
Annihil commented Apr 28, 2019

Hi,

As stated in the documentation for reaction

Options
delay: Number in milliseconds that can be used to debounce the effect function. If zero (the default), no debouncing will happen.

The delay option should debounce the reaction, but in fact it throttles it.
Is the documentation incorrect or is it a bug?

samcoenen
samcoenen commented Mar 11, 2019

Looks closely related to #779

I'm submitting a...


[ ] Regression
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior

Middleware is being called for every endpoint a request route could potentially match.

TalAmuyal
TalAmuyal commented Feb 28, 2019

Looking for help from the community regarding this issue.

Issue:
Unclear CI test failure.

Expected behavior:
Failed test would indicate the failure with some extra info for investigation.

Actual behavior:
Prints Expected: true, Actual: false which is less than optimal.

Steps to reproduce:
Run a failing test.

Would help to have more verbose logging for the tests

fabioluz
fabioluz commented Jul 10, 2017

Hi! I'm creating this issue to list Aurelia features that are not documented yet.

I can make the PR's to update the docs, but I want to be sure that I'm right before doing anything. So please, tell me if these changes are welcome.

Let's keep this list up to date!

Documentation Improvement List

Build Systems

  • CLI
    • CLI now supports SystemJS and Webpack. Update the
You can’t perform that action at this time.