preact
This commit is contained in:
parent
6acf267d48
commit
b7614eb3f8
4794 changed files with 1280808 additions and 1546 deletions
13
frontend/node_modules/preact/compat/client.d.ts
generated
vendored
Normal file
13
frontend/node_modules/preact/compat/client.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
// Intentionally not using a relative path to take advantage of
|
||||
// the TS version resolution mechanism
|
||||
import * as preact from 'preact';
|
||||
|
||||
export function createRoot(container: preact.ContainerNode): {
|
||||
render(children: preact.ComponentChild): void;
|
||||
unmount(): void;
|
||||
};
|
||||
|
||||
export function hydrateRoot(
|
||||
container: preact.ContainerNode,
|
||||
children: preact.ComponentChild
|
||||
): ReturnType<typeof createRoot>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue