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