This commit is contained in:
streamich 2018-10-30 17:03:54 +00:00
parent 5c40c42d2c
commit 25f63148cc
7 changed files with 6 additions and 6 deletions

View File

@ -22,6 +22,6 @@
<body>
<div id="root"></div>
<div id="error-display"></div>
<script type="text/javascript" src="static/preview.2f34391330f12c012af8.bundle.js"></script></body>
<script type="text/javascript" src="static/preview.ea3ab98ea4aa87f9cc14.bundle.js"></script></body>
</html>

View File

@ -40,5 +40,5 @@
</head>
<body style="margin: 0;">
<div id="root"></div>
<script type="text/javascript" src="static/manager.aebb3e23f1ec6b7057ad.bundle.js"></script></body>
<script type="text/javascript" src="static/manager.6f538734944b92b0b1b8.bundle.js"></script></body>
</html>

2
lib/react.d.ts vendored
View File

@ -1,4 +1,4 @@
export declare type UseState = <T>(initialState: T) => [T, (newState: T) => void];
export declare type UseState = <T>(initialState: T | (() => T)) => [T, (newState: T) => void];
export declare const useState: UseState;
export declare type UseEffect = (didUpdate: () => ((() => void) | void), params?: any[]) => void;
export declare const useEffect: UseEffect;

View File

@ -1,2 +1,2 @@
declare const useLocalStorage: (key: string) => string | undefined;
declare const useLocalStorage: <T>(key: string, initialValue?: T | undefined, raw?: boolean | undefined) => [T, (value: T) => void];
export default useLocalStorage;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long