Bunch of updates in preparation for publish
This commit is contained in:
9
examples/preact/types.d.ts
vendored
Normal file
9
examples/preact/types.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
type AppState =
|
||||
| { type: 'CameraPicker' }
|
||||
| { type: 'Status'; message: string }
|
||||
| {
|
||||
type: 'Config';
|
||||
config: import('web-gphoto2').Config;
|
||||
capturePreview: (() => Promise<Blob>) | undefined;
|
||||
triggerCapture: (() => Promise<File>) | undefined;
|
||||
};
|
||||
Reference in New Issue
Block a user