method Component.getDerivedStateFromErrorimport { Component } from "https://deno.land/x/live@1.57.22/deps.ts"; getDerivedStateFromError(error: any): object | nullParameterserror: anyReturnsobject | null