-
Notifications
You must be signed in to change notification settings - Fork 12.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a3d23d3
commit 755e1cb
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// @module: esnext | ||
// @moduleResolution: node | ||
// @esModuleInterop: true | ||
|
||
// @Filename: /node_modules/@fullcalendar/react/index.d.ts | ||
import * as react from 'react'; | ||
declare global { | ||
namespace FullCalendarVDom { | ||
export import VNode = react.ReactNode; | ||
} | ||
} | ||
|
||
export default class FullCalendar { | ||
} | ||
|
||
// @Filename: /node_modules/@fullcalendar/core/index.d.ts | ||
import * as preact from 'preact'; | ||
declare global { | ||
namespace FullCalendarVDom { | ||
type VNode = preact.VNode<any>; | ||
} | ||
} | ||
|
||
export type EventInput = any; | ||
|
||
// @Filename: /node_modules/@types/react/index.d.ts | ||
export = React; | ||
export as namespace React; | ||
declare namespace React { | ||
type ReactNode = any; | ||
function useMemo<T>(factory: () => T, deps: undefined): T; | ||
} | ||
|
||
// @Filename: /node_modules/preact/index.d.ts | ||
export as namespace preact; | ||
export interface VNode<P = {}> {} | ||
|
||
// @Filename: /index.tsx | ||
import FullCalendar from "@fullcalendar/react"; | ||
import { EventInput } from "@fullcalendar/core"; |