import React from "react" ; import { DocNodeTypeAlias } from "../util/docs" ; import { SimpleCard } from "./SinglePage" ; export function TypeAliasCard ( { node , nested , } ) { return ( < SimpleCard node = { node } nested = { nested } prefix = "type" returnType = { node . typeAliasDef ?. tsType } / > ) ; }