From 7d514ef93c64e6b58395729e1e90c1a27b593c5c Mon Sep 17 00:00:00 2001 From: Dav Hill Date: Tue, 12 Apr 2022 12:52:24 +1000 Subject: [PATCH] Add children to the props for @types/react@18 --- index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/index.d.ts b/index.d.ts index 903a5f9..e3882f5 100644 --- a/index.d.ts +++ b/index.d.ts @@ -42,6 +42,7 @@ export class RollbarContext extends Component<{ export interface ProviderProps { Rollbar?: new (options: Configuration) => Rollbar; + children: ReactNode; config?: Configuration | (() => Configuration); instance?: Rollbar; }