Files
react.dev/src/types.js
Brian Vaughn 3e4f2687c6 Update copyright headers (#3086)
Added and updated copyright headers.

Added some missing Flow types.

Removed an invalid prop-types import.
2020-07-07 10:35:57 -04:00

42 lines
600 B
JavaScript

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* @emails react-core
* @flow
*/
export type Author = {
name: string,
url: string,
};
export type Node = {
excerpt: string,
fields: {
date?: string,
path: string,
redirect: string,
slug: string,
},
frontmatter: {
author?: Array<Author>,
next?: string,
prev?: string,
title: string,
},
html: string,
id: string,
};
export type Edge = {
node: Node,
};
export type allMarkdownRemarkData = {
allMarkdownRemark: {
edges: Array<Edge>,
},
};
export type markdownRemarkData = Node;