2ba352da39
* Initial move * Make emitting work * Update paths * Remove leftover files * Add correct externals configuration * Import correct path * Update path to work with ts-server test * Update lib directory * Compile next-server/lib
8 lines
254 B
TypeScript
8 lines
254 B
TypeScript
import * as React from 'react'
|
|
|
|
type CaptureFn = (moduleName: string) => void
|
|
|
|
// @ts-ignore for some reason the React types don't like this, but it's correct.
|
|
export const LoadableContext: React.Context<CaptureFn | null> = React.createContext(
|
|
null
|
|
)
|