File tree 2 files changed +3
-3
lines changed
services/livesync/playground
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,14 +24,14 @@ declare global {
24
24
25
25
interface IPreviewQrCodeService {
26
26
getPlaygroundAppQrCode ( options ?: IPlaygroundAppQrCodeOptions ) : Promise < IDictionary < IQrCodeImageData > > ;
27
- printLiveSyncQrCode ( options : IGenerateQrCodeOptions ) : Promise < void > ;
27
+ printLiveSyncQrCode ( options : IPrintLiveSyncOptions ) : Promise < void > ;
28
28
}
29
29
30
30
interface IPlaygroundAppQrCodeOptions {
31
31
platform ?: string ;
32
32
}
33
33
34
- interface IGenerateQrCodeOptions extends IHasUseHotModuleReloadOption {
34
+ interface IPrintLiveSyncOptions extends IHasUseHotModuleReloadOption {
35
35
/**
36
36
* If set to true, a link will be shown on console instead of QR code
37
37
* Default value is false.
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export class PreviewQrCodeService implements IPreviewQrCodeService {
29
29
return result ;
30
30
}
31
31
32
- public async printLiveSyncQrCode ( options : IGenerateQrCodeOptions ) : Promise < void > {
32
+ public async printLiveSyncQrCode ( options : IPrintLiveSyncOptions ) : Promise < void > {
33
33
const qrCodeUrl = this . $previewSdkService . getQrCodeUrl ( options ) ;
34
34
const url = await this . getShortenUrl ( qrCodeUrl ) ;
35
35
You can’t perform that action at this time.
0 commit comments