3f691eaa45
* Remove ts-ignore where possible And replace by typecasts * More accurate types * bend cliententries in a correct shape earlier on * comment becomes unnecessary * add webpack overload to allow for the next.js use case * Avoid changing public interface Co-authored-by: Joe Haddad <timer150@gmail.com>
5 lines
154 B
TypeScript
5 lines
154 B
TypeScript
import * as React from 'react'
|
|
|
|
type CaptureFn = (moduleName: string) => void
|
|
|
|
export const LoadableContext = React.createContext<CaptureFn | null>(null)
|