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