Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkuk committed Apr 26, 2024
1 parent 199f659 commit 5855f1e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion dist/esm/web.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { WebPlugin } from '@capacitor/core';
import type { ConfigureOptions, PreloadOptions, NativeAudio } from './definitions';
import { WebPlugin } from "@capacitor/core";
export declare class NativeAudioWeb extends WebPlugin implements NativeAudio {
private static readonly FILE_LOCATION;
private static readonly AUDIO_ASSET_BY_ASSET_ID;
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/web.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/esm/web.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugin.cjs.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/plugin.js.map

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions src/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ export interface NativeAudio {
*
* @since 5.0.1
*/
addListener(
eventName: 'complete',
listenerFunc: (event: { assetId: string }) => void
): Promise<PluginListenerHandle>;
addListener(eventName: 'complete', listenerFunc: (event: { assetId: string }) => void): Promise<PluginListenerHandle>;
}

export interface ConfigureOptions {
Expand Down
3 changes: 1 addition & 2 deletions src/web.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

import { WebPlugin } from '@capacitor/core';

import { AudioAsset } from './audio-asset';
import type { ConfigureOptions, PreloadOptions, NativeAudio } from './definitions';
import {WebPlugin} from "@capacitor/core";

export class NativeAudioWeb extends WebPlugin implements NativeAudio {
private static readonly FILE_LOCATION: string = 'assets/sounds';
Expand Down

0 comments on commit 5855f1e

Please sign in to comment.