Skip to content

Commit

Permalink
fix: prevent errors when esModuleInterop is not used
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed May 6, 2020
1 parent 7e772c3 commit 4d28064
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion react.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { ReactElement, MutableRefObject } from 'react'
import * as React from 'react'
import { ReactElement, MutableRefObject } from 'react'

export type RefProp<T> = MutableRefObject<T | null | undefined>

Expand Down

0 comments on commit 4d28064

Please sign in to comment.