Skip to content

Commit

Permalink
remove comment, import only CameraWeb
Browse files Browse the repository at this point in the history
  • Loading branch information
stephan-fischer committed Jan 10, 2024
1 parent 9fc5fa4 commit 52eb400
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions camera/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import { registerPlugin } from '@capacitor/core';

import type { CameraPlugin } from './definitions';
// See https://github.com/ionic-team/capacitor-plugins/issues/1314
import * as web from './web';
import { CameraWeb } from './web';

const Camera = registerPlugin<CameraPlugin>('Camera', {
web: () => new web.CameraWeb(),
web: () => new CameraWeb(),
});

export * from './definitions';
Expand Down

0 comments on commit 52eb400

Please sign in to comment.