File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ export enum DeepLinkType {
1515 Workspace = 'workspace' ,
1616}
1717
18- export const AccountDeepLinkTypes = [ DeepLinkType . Draft , DeepLinkType . Workspace ] ;
19- export const PaidDeepLinkTypes = [ ] ;
18+ export const AccountDeepLinkTypes : DeepLinkType [ ] = [ DeepLinkType . Draft , DeepLinkType . Workspace ] ;
19+ export const PaidDeepLinkTypes : DeepLinkType [ ] = [ ] ;
2020
2121export function deepLinkTypeToString ( type : DeepLinkType ) : string {
2222 switch ( type ) {
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ import {
2626 deepLinkStateTransitionTable ,
2727 DeepLinkType ,
2828 deepLinkTypeToString ,
29+ PaidDeepLinkTypes ,
2930 parseDeepLinkUri ,
3031} from './deepLink' ;
3132
@@ -458,7 +459,7 @@ export class DeepLinkService implements Disposable {
458459 message = 'No link type provided.' ;
459460 break ;
460461 }
461- if ( ! AccountDeepLinkTypes . includes ( targetType ) ) {
462+ if ( ! PaidDeepLinkTypes . includes ( targetType ) ) {
462463 action = DeepLinkServiceAction . PlanCheckPassed ;
463464 break ;
464465 }
You can’t perform that action at this time.
0 commit comments