Likely to cause new Flow errors: When you refine a mixed variable with typeof myVar === 'object', we used to refine the type of myVar to null | Object. Now it is refined to null | {[key: string]: mixed}. This means myVar.prop has the type mixed rather than any. Removed non-standard Promise methods. Previous versions of Flow specified the type of Promise.prototype.done and Promise.cast, which are n
* This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant
Summary: Add syntax for declaring variance of type parameters. This is enough to provide general support for def-site variance, because: (1) Subtyping of generics was already sensitive to variance to accommodate Promise/Generator use-cases (2) Variance checking was already implemented for this-types The core lib definitions of Promise/Generator are now updated to declare variances using syntax (in
Likely to cause new Flow errors: ES6 react classes without state should now extends React.Component<DefaultProps, Props, void> (previously it was extends React.Component<DefaultProps, Props, {}>) ES6 react classes with state should declare state: State; New features: Autocomplete for jsx properties Typed JSX intrinsics. This means you can list which jsx intrinsics exist (like div, span, etc) and s
Fixes #3473 I tag each React element with $$typeof: Symbol.for('react.element'). We need this to be able to safely distinguish these from plain objects that might have come from user provided JSON. The idiomatic JavaScript way of tagging an object is for it to inherent some prototype and then use instanceof to test for it. However, this has limitations since it doesn't work with value types which
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く